Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 154.8 kB / 23.01 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.507/1.507, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.968/2.968, allocations: 394.2 MB / 0.6387 GB, free: 11.9 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002339/0.002339, allocations: 59.91 kB / 1.009 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8556/0.8579, allocations: 181.8 MB / 1.187 GB, free: 16.23 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006119/0.864, allocations: 4.37 MB / 1.191 GB, free: 13.32 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1818/1.046, allocations: 132.7 MB / 1.32 GB, free: 12.86 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009477/1.047, allocations: 23.81 kB / 1.32 GB, free: 12.84 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006202/1.047, allocations: 194.3 kB / 1.321 GB, free: 12.64 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002035/1.049, allocations: 0.5587 MB / 1.321 GB, free: 12.09 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002377/1.052, allocations: 0.86 MB / 1.322 GB, free: 11.23 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001771/1.054, allocations: 1.382 MB / 1.323 GB, free: 9.844 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007107/1.054, allocations: 385.9 kB / 1.324 GB, free: 9.441 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007343/1.055, allocations: 0.4983 MB / 1.324 GB, free: 8.941 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006374/1.056, allocations: 457.8 kB / 1.325 GB, free: 8.492 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001806/1.056, allocations: 120 kB / 1.325 GB, free: 8.375 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001099/1.057, allocations: 495.6 kB / 1.325 GB, free: 7.891 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000316/1.057, allocations: 303 kB / 1.326 GB, free: 7.594 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0004851/1.058, allocations: 457.8 kB / 1.326 GB, free: 7.145 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00217/1.06, allocations: 1.669 MB / 1.328 GB, free: 5.473 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/1.06, allocations: 0 / 1.328 GB, free: 5.473 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.793e-06/1.06, allocations: 4 kB / 1.328 GB, free: 5.469 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.515e-05/1.06, allocations: 3.938 kB / 1.328 GB, free: 5.465 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.00287/1.063, allocations: 1.392 MB / 1.329 GB, free: 4.039 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/1.063, allocations: 12.03 kB / 1.329 GB, free: 4.027 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00251/1.065, allocations: 240 kB / 1.329 GB, free: 3.793 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002083/1.067, allocations: 0.6987 MB / 1.33 GB, free: 3.066 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.977e-05/1.068, allocations: 62 kB / 1.33 GB, free: 3.004 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/1.068, allocations: 80 kB / 1.33 GB, free: 2.926 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001898/1.07, allocations: 1.162 MB / 1.331 GB, free: 1.664 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/1.07, allocations: 0 / 1.331 GB, free: 1.664 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.313e-05/1.07, allocations: 36 kB / 1.331 GB, free: 1.629 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.196e-05/1.07, allocations: 20 kB / 1.331 GB, free: 1.609 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0019/1.072, allocations: 1.054 MB / 1.332 GB, free: 0.5547 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004111/1.076, allocations: 2.079 MB / 1.334 GB, free: 14.43 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001618/1.077, allocations: 0.7432 MB / 1.335 GB, free: 13.68 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005625/1.078, allocations: 274.7 kB / 1.335 GB, free: 13.41 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.122e-05/1.078, allocations: 28.62 kB / 1.335 GB, free: 13.38 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009982/1.079, allocations: 0.5776 MB / 1.336 GB, free: 12.76 MB / 1.186 GB Notification: Performance of pre-optimization done (n=79): time 2.875e-06/1.079, allocations: 0 / 1.336 GB, free: 12.76 MB / 1.186 GB Notification: Performance of matching and sorting (n=79): time 0.003549/1.083, allocations: 1.107 MB / 1.337 GB, free: 11.64 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/1.083, allocations: 188.6 kB / 1.337 GB, free: 11.42 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009472/1.084, allocations: 0.5978 MB / 1.338 GB, free: 10.81 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.688e-05/1.084, allocations: 45.69 kB / 1.338 GB, free: 10.76 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003841/1.084, allocations: 409 kB / 1.338 GB, free: 10.35 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002558/1.084, allocations: 269.7 kB / 1.338 GB, free: 10.09 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002895/1.085, allocations: 158.6 kB / 1.339 GB, free: 9.926 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002117/1.085, allocations: 382.8 kB / 1.339 GB, free: 9.543 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005868/1.085, allocations: 261.9 kB / 1.339 GB, free: 9.285 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007749/1.086, allocations: 491.5 kB / 1.34 GB, free: 8.762 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/1.087, allocations: 0.5994 MB / 1.34 GB, free: 8.152 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.329e-06/1.087, allocations: 0 / 1.34 GB, free: 8.152 MB / 1.186 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002196/1.09, allocations: 0.8415 MB / 1.341 GB, free: 7.301 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/1.09, allocations: 4 kB / 1.341 GB, free: 7.297 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/1.09, allocations: 0 / 1.341 GB, free: 7.297 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006838/1.09, allocations: 88.86 kB / 1.341 GB, free: 7.207 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007213/1.091, allocations: 159.7 kB / 1.341 GB, free: 7.051 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002351/1.093, allocations: 1.503 MB / 1.343 GB, free: 5.445 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007996/1.094, allocations: 99.59 kB / 1.343 GB, free: 5.348 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.939e-05/1.094, allocations: 35.97 kB / 1.343 GB, free: 5.312 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005118/1.095, allocations: 267.7 kB / 1.343 GB, free: 5.043 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000223/1.095, allocations: 91.36 kB / 1.343 GB, free: 4.953 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002618/1.098, allocations: 1.046 MB / 1.344 GB, free: 3.891 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/1.098, allocations: 8 kB / 1.344 GB, free: 3.883 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/1.098, allocations: 0 / 1.344 GB, free: 3.883 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/1.098, allocations: 3.984 kB / 1.344 GB, free: 3.879 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003527/1.101, allocations: 1.662 MB / 1.346 GB, free: 2.172 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/1.101, allocations: 0 / 1.346 GB, free: 2.172 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006115/1.102, allocations: 147.7 kB / 1.346 GB, free: 2.027 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004905/1.102, allocations: 76.72 kB / 1.346 GB, free: 1.949 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.929e-05/1.102, allocations: 27.97 kB / 1.346 GB, free: 1.922 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00212/1.105, allocations: 1.524 MB / 1.348 GB, free: 300 kB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.105, allocations: 4.031 kB / 1.348 GB, free: 296 kB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002288/1.107, allocations: 0.9868 MB / 1.349 GB, free: 15.28 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004828/1.107, allocations: 187.1 kB / 1.349 GB, free: 15.1 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/1.107, allocations: 27.98 kB / 1.349 GB, free: 15.07 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007697/1.108, allocations: 63.88 kB / 1.349 GB, free: 15.01 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001938/1.108, allocations: 72.86 kB / 1.349 GB, free: 14.94 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.4e-05/1.109, allocations: 35.98 kB / 1.349 GB, free: 14.9 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006833/1.109, allocations: 431 kB / 1.349 GB, free: 14.49 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/1.109, allocations: 0 / 1.349 GB, free: 14.49 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001062/1.11, allocations: 327.1 kB / 1.35 GB, free: 14.17 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002272/1.113, allocations: 0.6416 MB / 1.35 GB, free: 13.73 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001916/1.114, allocations: 0.7882 MB / 1.351 GB, free: 12.93 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/1.114, allocations: 192 / 1.351 GB, free: 12.93 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001064/1.116, allocations: 0.4962 MB / 1.352 GB, free: 12.42 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/1.117, allocations: 288.1 kB / 1.352 GB, free: 12.16 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003495/1.121, allocations: 1.641 MB / 1.353 GB, free: 10.49 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006008/1.121, allocations: 439.4 kB / 1.354 GB, free: 10.03 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008919/1.122, allocations: 258.2 kB / 1.354 GB, free: 9.77 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003096/1.122, allocations: 100.5 kB / 1.354 GB, free: 9.668 MB / 1.201 GB Notification: Performance of SimCode: time 6.51e-07/1.122, allocations: 7.938 kB / 1.354 GB, free: 9.66 MB / 1.201 GB Notification: Performance of Templates: time 0.02985/1.152, allocations: 15.11 MB / 1.369 GB, free: 10.79 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.889876798028126]