Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.001915/0.001915, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001708/0.001708, allocations: 213.7 kB / 22.24 MB, free: 4.855 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.492/1.492, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.849/2.849, allocations: 475.9 MB / 0.7699 GB, free: 4.777 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") [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.002043/0.002043, allocations: 65.52 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3018, allocations: 170 MB / 1.283 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006927/0.3087, allocations: 4.482 MB / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1841/0.4928, allocations: 132.7 MB / 1.417 GB, free: 2.184 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009301/0.4937, allocations: 23.81 kB / 1.417 GB, free: 2.16 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0008708/0.4946, allocations: 202.1 kB / 1.417 GB, free: 1.961 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002463/0.4971, allocations: 0.5789 MB / 1.418 GB, free: 1.383 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002423/0.4995, allocations: 0.881 MB / 1.419 GB, free: 0.5078 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002178/0.5017, allocations: 1.464 MB / 1.42 GB, free: 15.03 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009328/0.5026, allocations: 398.2 kB / 1.42 GB, free: 14.62 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009218/0.5035, allocations: 0.5256 MB / 1.421 GB, free: 14.09 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000881/0.5044, allocations: 493.6 kB / 1.421 GB, free: 13.61 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002878/0.5047, allocations: 120 kB / 1.422 GB, free: 13.49 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001278/0.506, allocations: 0.4917 MB / 1.422 GB, free: 13 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004013/0.5064, allocations: 307 kB / 1.422 GB, free: 12.7 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0006769/0.507, allocations: 485.6 kB / 1.423 GB, free: 12.22 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002544/0.5096, allocations: 1.724 MB / 1.424 GB, free: 10.49 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.5096, allocations: 0 / 1.424 GB, free: 10.49 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5096, allocations: 3.938 kB / 1.424 GB, free: 10.49 MB / 1.123 GB Notification: Performance of Transformations before backend: time 4.567e-05/0.5096, allocations: 0 / 1.424 GB, free: 10.49 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.003577/0.5132, allocations: 1.456 MB / 1.426 GB, free: 8.996 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.5133, allocations: 12.03 kB / 1.426 GB, free: 8.984 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001823/0.5151, allocations: 252 kB / 1.426 GB, free: 8.738 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/0.5166, allocations: 0.7298 MB / 1.427 GB, free: 7.984 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.926e-05/0.5167, allocations: 66 kB / 1.427 GB, free: 7.918 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.5169, allocations: 80 kB / 1.427 GB, free: 7.84 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002165/0.519, allocations: 1.197 MB / 1.428 GB, free: 6.543 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.519, allocations: 0 / 1.428 GB, free: 6.543 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-05/0.5191, allocations: 39.98 kB / 1.428 GB, free: 6.504 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.411e-05/0.5192, allocations: 24 kB / 1.428 GB, free: 6.48 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002066/0.5212, allocations: 1.089 MB / 1.429 GB, free: 5.391 MB / 1.123 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004505/0.5257, allocations: 2.123 MB / 1.431 GB, free: 3.215 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001772/0.5275, allocations: 0.7918 MB / 1.432 GB, free: 2.406 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006127/0.5281, allocations: 292.5 kB / 1.432 GB, free: 2.121 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.524e-05/0.5282, allocations: 28.62 kB / 1.432 GB, free: 2.094 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00112/0.5293, allocations: 0.6169 MB / 1.433 GB, free: 1.438 MB / 1.123 GB Notification: Performance of pre-optimization done (n=85): time 3.196e-06/0.5293, allocations: 0 / 1.433 GB, free: 1.438 MB / 1.123 GB Notification: Performance of matching and sorting (n=85): time 0.003672/0.533, allocations: 1.18 MB / 1.434 GB, free: 256 kB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002385/0.5332, allocations: 192.9 kB / 1.434 GB, free: 16 kB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.5344, allocations: 0.6213 MB / 1.435 GB, free: 15.38 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 9.308e-05/0.5345, allocations: 45.7 kB / 1.435 GB, free: 15.33 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004409/0.535, allocations: 413.1 kB / 1.435 GB, free: 14.92 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003068/0.5353, allocations: 285.7 kB / 1.436 GB, free: 14.64 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003087/0.5356, allocations: 174.6 kB / 1.436 GB, free: 14.46 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002273/0.5358, allocations: 390.7 kB / 1.436 GB, free: 14.07 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006416/0.5364, allocations: 277.8 kB / 1.436 GB, free: 13.8 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009646/0.5374, allocations: 0.4966 MB / 1.437 GB, free: 13.26 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.5388, allocations: 0.6329 MB / 1.438 GB, free: 12.61 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.5388, allocations: 0 / 1.438 GB, free: 12.61 MB / 1.139 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002485/0.5412, allocations: 0.8921 MB / 1.438 GB, free: 11.71 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.5413, allocations: 8 kB / 1.438 GB, free: 11.7 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.5413, allocations: 0 / 1.438 GB, free: 11.7 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006471/0.5419, allocations: 92.77 kB / 1.439 GB, free: 11.61 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007324/0.5427, allocations: 167.8 kB / 1.439 GB, free: 11.44 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002768/0.5454, allocations: 1.508 MB / 1.44 GB, free: 9.824 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008327/0.5463, allocations: 98.02 kB / 1.44 GB, free: 9.73 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.01e-05/0.5463, allocations: 35.97 kB / 1.44 GB, free: 9.695 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 20 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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.0005499/0.5469, allocations: 279.7 kB / 1.441 GB, free: 9.414 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003025/0.5472, allocations: 83.48 kB / 1.441 GB, free: 9.332 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002963/0.5502, allocations: 1.136 MB / 1.442 GB, free: 8.184 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/0.5502, allocations: 16 kB / 1.442 GB, free: 8.168 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.5502, allocations: 3.938 kB / 1.442 GB, free: 8.164 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.5502, allocations: 3.984 kB / 1.442 GB, free: 8.16 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004066/0.5543, allocations: 1.771 MB / 1.444 GB, free: 6.348 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.5543, allocations: 0 / 1.444 GB, free: 6.348 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006397/0.5549, allocations: 151.8 kB / 1.444 GB, free: 6.199 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005046/0.5554, allocations: 68.78 kB / 1.444 GB, free: 6.129 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.08e-05/0.5555, allocations: 47.91 kB / 1.444 GB, free: 6.082 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002219/0.5577, allocations: 1.508 MB / 1.445 GB, free: 4.465 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.5577, allocations: 3.938 kB / 1.445 GB, free: 4.461 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00247/0.5602, allocations: 1.057 MB / 1.446 GB, free: 3.383 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006224/0.5608, allocations: 203 kB / 1.446 GB, free: 3.184 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002126/0.561, allocations: 24.09 kB / 1.447 GB, free: 3.16 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007798/0.5618, allocations: 71.91 kB / 1.447 GB, free: 3.09 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001949/0.562, allocations: 80.84 kB / 1.447 GB, free: 3.012 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.483e-05/0.5621, allocations: 39.97 kB / 1.447 GB, free: 2.973 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0007283/0.5628, allocations: 447 kB / 1.447 GB, free: 2.543 MB / 1.139 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5628, allocations: 0 / 1.447 GB, free: 2.543 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001117/0.5639, allocations: 347.1 kB / 1.447 GB, free: 2.203 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.002355/0.5663, allocations: 0.6353 MB / 1.448 GB, free: 1.773 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002178/0.5685, allocations: 0.8431 MB / 1.449 GB, free: 0.918 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/0.5685, allocations: 4 kB / 1.449 GB, free: 0.9141 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001146/0.5696, allocations: 0.5002 MB / 1.449 GB, free: 416 kB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/0.5712, allocations: 306 kB / 1.45 GB, free: 128 kB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00412/0.5753, allocations: 1.747 MB / 1.451 GB, free: 14.35 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000735/0.5761, allocations: 457.2 kB / 1.452 GB, free: 13.87 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001044/0.5771, allocations: 270.7 kB / 1.452 GB, free: 13.6 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003497/0.5775, allocations: 111.4 kB / 1.452 GB, free: 13.49 MB / 1.154 GB Notification: Performance of SimCode: time 1.733e-06/0.5775, allocations: 0 / 1.452 GB, free: 13.49 MB / 1.154 GB Notification: Performance of Templates: time 0.03331/0.6108, allocations: 16.81 MB / 1.469 GB, free: 12.95 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.61385091394186]