Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008146/0.0008146, allocations: 91.22 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005065/0.005065, allocations: 172.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.416/2.416, allocations: 390.9 MB / 0.6663 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003477/0.0003478, allocations: 8 kB / 0.816 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7312/0.7316, allocations: 142.4 MB / 0.955 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004768/0.7364, allocations: 4.028 MB / 0.959 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1693/0.9057, allocations: 146.7 MB / 1.102 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008345/0.9066, allocations: 11.94 kB / 1.102 GB, free: 8.109 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006803/0.9073, allocations: 146.9 kB / 1.102 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001829/0.9091, allocations: 453.8 kB / 1.103 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001883/0.911, allocations: 0.7336 MB / 1.104 GB, free: 6.797 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001423/0.9124, allocations: 1.265 MB / 1.105 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008439/0.9133, allocations: 0.5844 MB / 1.105 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005249/0.9138, allocations: 358.3 kB / 1.106 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004701/0.9143, allocations: 401.7 kB / 1.106 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.901e-05/0.9144, allocations: 28 kB / 1.106 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007922/0.9152, allocations: 367.7 kB / 1.106 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000199/0.9154, allocations: 195.1 kB / 1.107 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003912/0.9158, allocations: 478.7 kB / 1.107 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001469/0.9173, allocations: 1.495 MB / 1.109 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.9173, allocations: 0 / 1.109 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.664e-06/0.9173, allocations: 0 / 1.109 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.661e-05/0.9173, allocations: 0 / 1.109 GB, free: 1.617 MB / 0.8575 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.002323/0.9197, allocations: 1.242 MB / 1.11 GB, free: 336 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.9197, allocations: 8.031 kB / 1.11 GB, free: 328 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009161/0.9206, allocations: 195.4 kB / 1.11 GB, free: 132 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.9217, allocations: 0.7624 MB / 1.111 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.433e-05/0.9218, allocations: 62 kB / 1.111 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.9219, allocations: 87.98 kB / 1.111 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001648/0.9236, allocations: 0.9535 MB / 1.112 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.9236, allocations: 3.938 kB / 1.112 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.684e-05/0.9237, allocations: 36 kB / 1.112 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.9237, allocations: 20 kB / 1.112 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001859/0.9256, allocations: 1.136 MB / 1.113 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004181/0.9298, allocations: 2.587 MB / 1.115 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/0.9315, allocations: 0.9111 MB / 1.116 GB, free: 9.391 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005824/0.9321, allocations: 314.7 kB / 1.117 GB, free: 9.078 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.767e-05/0.9322, allocations: 40.67 kB / 1.117 GB, free: 9.039 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000983/0.9332, allocations: 0.5159 MB / 1.117 GB, free: 8.504 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=85): time 2.715e-06/0.9332, allocations: 0 / 1.117 GB, free: 8.504 MB / 0.8731 GB Notification: Performance of matching and sorting (n=85): time 0.003484/0.9367, allocations: 1.274 MB / 1.118 GB, free: 7.203 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/0.9368, allocations: 192.9 kB / 1.119 GB, free: 6.973 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009299/0.9378, allocations: 0.6448 MB / 1.119 GB, free: 6.32 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.018e-05/0.9379, allocations: 45.7 kB / 1.119 GB, free: 6.27 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003275/0.9382, allocations: 404.4 kB / 1.12 GB, free: 5.867 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/0.9384, allocations: 272 kB / 1.12 GB, free: 5.598 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.9385, allocations: 73.69 kB / 1.12 GB, free: 5.52 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.9387, allocations: 386.8 kB / 1.12 GB, free: 5.133 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005544/0.9393, allocations: 281.8 kB / 1.121 GB, free: 4.855 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006401/0.9399, allocations: 388 kB / 1.121 GB, free: 4.461 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.9412, allocations: 0.6485 MB / 1.122 GB, free: 3.797 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.9412, allocations: 0 / 1.122 GB, free: 3.797 MB / 0.8731 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002042/0.9432, allocations: 0.8916 MB / 1.123 GB, free: 2.895 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.9433, allocations: 9.188 kB / 1.123 GB, free: 2.887 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.9433, allocations: 4 kB / 1.123 GB, free: 2.883 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006045/0.9439, allocations: 84.89 kB / 1.123 GB, free: 2.797 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006915/0.9446, allocations: 175.7 kB / 1.123 GB, free: 2.625 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002061/0.9467, allocations: 1.512 MB / 1.124 GB, free: 0.9688 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008717/0.9476, allocations: 111.3 kB / 1.124 GB, free: 0.8594 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.152e-05/0.9476, allocations: 39.97 kB / 1.124 GB, free: 0.8203 MB / 0.8731 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.0005303/0.9482, allocations: 277.5 kB / 1.125 GB, free: 0.5391 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.9483, allocations: 86.97 kB / 1.125 GB, free: 464 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002565/0.9509, allocations: 1.148 MB / 1.126 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.9509, allocations: 12 kB / 1.126 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.9509, allocations: 0 / 1.126 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.951, allocations: 7.922 kB / 1.126 GB, free: 15.28 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003363/0.9543, allocations: 2.036 MB / 1.128 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.9544, allocations: 0 / 1.128 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006211/0.955, allocations: 155.8 kB / 1.128 GB, free: 13.03 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005384/0.9555, allocations: 80.78 kB / 1.128 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.858e-05/0.9556, allocations: 35.97 kB / 1.128 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001825/0.9574, allocations: 1.552 MB / 1.13 GB, free: 11.22 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.9575, allocations: 0 / 1.13 GB, free: 11.22 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002099/0.9596, allocations: 1.058 MB / 1.131 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004027/0.96, allocations: 291.6 kB / 1.131 GB, free: 9.836 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.9601, allocations: 27.88 kB / 1.131 GB, free: 9.809 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007477/0.9609, allocations: 93.77 kB / 1.131 GB, free: 9.723 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.961, allocations: 80.81 kB / 1.131 GB, free: 9.645 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.711e-05/0.9611, allocations: 39.98 kB / 1.131 GB, free: 9.605 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005829/0.9617, allocations: 463 kB / 1.132 GB, free: 9.156 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9617, allocations: 0 / 1.132 GB, free: 9.156 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009255/0.9627, allocations: 319.3 kB / 1.132 GB, free: 8.844 MB / 0.8887 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.001385/0.9641, allocations: 0.6016 MB / 1.133 GB, free: 8.414 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001773/0.9658, allocations: 0.8819 MB / 1.133 GB, free: 7.52 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.9659, allocations: 0 / 1.133 GB, free: 7.52 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009707/0.9668, allocations: 0.5434 MB / 1.134 GB, free: 6.965 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/0.9682, allocations: 270.6 kB / 1.134 GB, free: 6.711 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00434/0.9725, allocations: 2.312 MB / 1.136 GB, free: 4.367 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006144/0.9732, allocations: 1.039 MB / 1.137 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0009344/0.9741, allocations: 266.9 kB / 1.138 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002815/0.9744, allocations: 111.4 kB / 1.138 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of SimCode: time 6.51e-07/0.9744, allocations: 0 / 1.138 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of Templates: time 0.02622/1.001, allocations: 14.48 MB / 1.152 GB, free: 4.602 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches