Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001519/0.001519, allocations: 116.5 kB / 16.37 MB, free: 6.012 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.001634/0.001634, allocations: 190.4 kB / 17.31 MB, free: 5.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.282/1.282, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.406/2.406, allocations: 437.1 MB / 0.7112 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 60.77 kB / 0.8707 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2945, allocations: 151.7 MB / 1.019 GB, free: 9.875 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006196/0.3007, allocations: 4.952 MB / 1.024 GB, free: 4.895 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6317/0.9325, allocations: 150.6 MB / 1.171 GB, free: 140 kB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000868/0.9334, allocations: 19.34 kB / 1.171 GB, free: 132 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005795/0.934, allocations: 188.6 kB / 1.171 GB, free: 8 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00171/0.9358, allocations: 0.5617 MB / 1.171 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0019/0.9377, allocations: 0.8479 MB / 1.172 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001482/0.9392, allocations: 1.438 MB / 1.174 GB, free: 14.51 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007843/0.94, allocations: 0.584 MB / 1.174 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005785/0.9406, allocations: 0.4959 MB / 1.175 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005375/0.9411, allocations: 0.5245 MB / 1.175 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001472/0.9413, allocations: 118.1 kB / 1.175 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008493/0.9421, allocations: 492.2 kB / 1.176 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002641/0.9424, allocations: 305.4 kB / 1.176 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005064/0.9429, allocations: 0.5704 MB / 1.177 GB, free: 12.98 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00158/0.9445, allocations: 1.67 MB / 1.178 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.9445, allocations: 0 / 1.178 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9445, allocations: 1.406 kB / 1.178 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.068e-05/0.9445, allocations: 0 / 1.178 GB, free: 11.78 MB / 0.8887 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.002582/0.9471, allocations: 1.468 MB / 1.18 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.9472, allocations: 9.625 kB / 1.18 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008826/0.9481, allocations: 189 kB / 1.18 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.9492, allocations: 0.7722 MB / 1.181 GB, free: 9.902 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.864e-05/0.9493, allocations: 73.67 kB / 1.181 GB, free: 9.867 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.9494, allocations: 83.22 kB / 1.181 GB, free: 9.84 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/0.9509, allocations: 0.9439 MB / 1.182 GB, free: 9.23 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.9509, allocations: 1.062 kB / 1.182 GB, free: 9.23 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.34e-05/0.951, allocations: 37.41 kB / 1.182 GB, free: 9.207 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.032e-05/0.9511, allocations: 20.38 kB / 1.182 GB, free: 9.207 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001751/0.9528, allocations: 1.133 MB / 1.183 GB, free: 8.668 MB / 0.8887 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.004068/0.9569, allocations: 2.726 MB / 1.186 GB, free: 6.488 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/0.9584, allocations: 0.9153 MB / 1.187 GB, free: 5.973 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005193/0.9589, allocations: 315.7 kB / 1.187 GB, free: 5.816 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.187e-05/0.959, allocations: 36.58 kB / 1.187 GB, free: 5.797 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008495/0.9598, allocations: 0.5073 MB / 1.187 GB, free: 5.465 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=85): time 2.294e-06/0.9599, allocations: 4 kB / 1.187 GB, free: 5.461 MB / 0.8887 GB Notification: Performance of matching and sorting (n=85): time 0.003153/0.963, allocations: 1.256 MB / 1.189 GB, free: 4.789 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.68e-05/0.9631, allocations: 189.8 kB / 1.189 GB, free: 4.57 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007668/0.9639, allocations: 0.6453 MB / 1.189 GB, free: 4.191 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.112e-05/0.964, allocations: 46.89 kB / 1.189 GB, free: 4.145 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000292/0.9643, allocations: 408 kB / 1.19 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002004/0.9645, allocations: 275.2 kB / 1.19 GB, free: 3.547 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002391/0.9647, allocations: 171.8 kB / 1.19 GB, free: 3.441 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.9649, allocations: 392.7 kB / 1.191 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004873/0.9654, allocations: 281 kB / 1.191 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005924/0.966, allocations: 380.8 kB / 1.191 GB, free: 2.707 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.9671, allocations: 0.639 MB / 1.192 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.9671, allocations: 0 / 1.192 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001833/0.9689, allocations: 0.8859 MB / 1.193 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.9689, allocations: 5.5 kB / 1.193 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.969, allocations: 2.531 kB / 1.193 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005436/0.9695, allocations: 83.2 kB / 1.193 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006483/0.9702, allocations: 175.5 kB / 1.193 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/0.9721, allocations: 1.631 MB / 1.195 GB, free: 220 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007746/0.9729, allocations: 98.19 kB / 1.195 GB, free: 156 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.127e-05/0.973, allocations: 39.97 kB / 1.195 GB, free: 140 kB / 0.8887 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.0004497/0.9734, allocations: 281.6 kB / 1.195 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/0.9736, allocations: 87.39 kB / 1.195 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002296/0.9759, allocations: 1.133 MB / 1.196 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.9759, allocations: 14.69 kB / 1.196 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.9759, allocations: 0 / 1.196 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.9759, allocations: 7.984 kB / 1.196 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003115/0.9791, allocations: 2.024 MB / 1.198 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.9791, allocations: 0 / 1.198 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005714/0.9797, allocations: 153.8 kB / 1.198 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004174/0.9801, allocations: 74.66 kB / 1.198 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.952e-05/0.9802, allocations: 29.72 kB / 1.198 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001775/0.9819, allocations: 1.662 MB / 1.2 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.982, allocations: 0 / 1.2 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001926/0.9839, allocations: 1.048 MB / 1.201 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000416/0.9843, allocations: 286 kB / 1.201 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/0.9844, allocations: 19.09 kB / 1.201 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006464/0.9851, allocations: 68.8 kB / 1.201 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/0.9853, allocations: 79.89 kB / 1.201 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.631e-05/0.9853, allocations: 40.88 kB / 1.202 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005591/0.9859, allocations: 464.3 kB / 1.202 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9859, allocations: 0 / 1.202 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008641/0.9868, allocations: 330.2 kB / 1.202 GB, free: 10.89 MB / 0.9044 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.001245/0.988, allocations: 0.6197 MB / 1.203 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00167/0.9897, allocations: 0.8634 MB / 1.204 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.9897, allocations: 6.812 kB / 1.204 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009029/0.9906, allocations: 0.5373 MB / 1.204 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.9918, allocations: 310.5 kB / 1.205 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00275/0.9946, allocations: 1.704 MB / 1.206 GB, free: 8.25 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00059/0.9952, allocations: 1.036 MB / 1.207 GB, free: 7.184 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007433/0.9959, allocations: 270.9 kB / 1.208 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002579/0.9962, allocations: 115.4 kB / 1.208 GB, free: 6.801 MB / 0.9044 GB Notification: Performance of SimCode: time 4.11e-07/0.9962, allocations: 0 / 1.208 GB, free: 6.801 MB / 0.9044 GB Notification: Performance of Templates: time 0.02389/1.02, allocations: 15.59 MB / 1.223 GB, free: 7.391 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches