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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001104/0.001104, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008834/0.008834, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.362/1.362, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.542/2.542, allocations: 437.8 MB / 0.7121 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003376, allocations: 8 kB / 0.8728 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.644/0.6443, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005247/0.6496, allocations: 4.523 MB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.155/0.8046, allocations: 146.7 MB / 1.171 GB, free: 8.008 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007019/0.8054, allocations: 19.88 kB / 1.171 GB, free: 7.988 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005104/0.8059, allocations: 150.8 kB / 1.171 GB, free: 7.84 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001405/0.8073, allocations: 488.8 kB / 1.171 GB, free: 7.367 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001699/0.809, allocations: 0.742 MB / 1.172 GB, free: 6.629 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001345/0.8104, allocations: 1.335 MB / 1.173 GB, free: 5.289 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009248/0.8113, allocations: 0.5596 MB / 1.174 GB, free: 4.711 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005825/0.8119, allocations: 370.3 kB / 1.174 GB, free: 4.348 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004974/0.8124, allocations: 413.8 kB / 1.175 GB, free: 3.941 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.604e-05/0.8125, allocations: 24 kB / 1.175 GB, free: 3.918 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007778/0.8133, allocations: 371.7 kB / 1.175 GB, free: 3.555 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002188/0.8135, allocations: 195 kB / 1.175 GB, free: 3.363 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004569/0.814, allocations: 494.7 kB / 1.176 GB, free: 2.871 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001544/0.8155, allocations: 1.518 MB / 1.177 GB, free: 1.348 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.8155, allocations: 0 / 1.177 GB, free: 1.348 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.954e-06/0.8155, allocations: 4 kB / 1.177 GB, free: 1.344 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.285e-05/0.8156, allocations: 0 / 1.177 GB, free: 1.344 MB / 0.92 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.002345/0.8179, allocations: 1.253 MB / 1.178 GB, free: 36 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.818, allocations: 12.03 kB / 1.178 GB, free: 24 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009046/0.8189, allocations: 191.6 kB / 1.179 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000983/0.8199, allocations: 0.7585 MB / 1.179 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.262e-05/0.8199, allocations: 69.98 kB / 1.179 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.8201, allocations: 80 kB / 1.179 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001602/0.8217, allocations: 0.9496 MB / 1.18 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.8217, allocations: 11.94 kB / 1.18 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-05/0.8218, allocations: 36 kB / 1.18 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.064e-05/0.8218, allocations: 20 kB / 1.18 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001764/0.8236, allocations: 1.136 MB / 1.182 GB, free: 12.69 MB / 0.9356 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.004146/0.8278, allocations: 2.789 MB / 1.184 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/0.8293, allocations: 0.9285 MB / 1.185 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000566/0.8299, allocations: 318.7 kB / 1.186 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.054e-05/0.83, allocations: 28.62 kB / 1.186 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009427/0.831, allocations: 0.5237 MB / 1.186 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=85): time 2.625e-06/0.831, allocations: 0 / 1.186 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of matching and sorting (n=85): time 0.003208/0.8342, allocations: 1.274 MB / 1.187 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.681e-05/0.8343, allocations: 192.9 kB / 1.187 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007547/0.8351, allocations: 0.6448 MB / 1.188 GB, free: 5.766 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.899e-05/0.8351, allocations: 45.7 kB / 1.188 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002981/0.8354, allocations: 404.4 kB / 1.189 GB, free: 5.312 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002104/0.8357, allocations: 268.1 kB / 1.189 GB, free: 5.047 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.8358, allocations: 77.67 kB / 1.189 GB, free: 4.965 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.8359, allocations: 382.8 kB / 1.189 GB, free: 4.582 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005541/0.8365, allocations: 285.8 kB / 1.19 GB, free: 4.305 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006382/0.8371, allocations: 384 kB / 1.19 GB, free: 3.91 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.8383, allocations: 0.6446 MB / 1.191 GB, free: 3.25 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.8383, allocations: 0 / 1.191 GB, free: 3.25 MB / 0.9356 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001965/0.8403, allocations: 0.8956 MB / 1.191 GB, free: 2.348 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.8403, allocations: 11.94 kB / 1.191 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.8403, allocations: 4.062 kB / 1.191 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000645/0.841, allocations: 80.89 kB / 1.191 GB, free: 2.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007047/0.8417, allocations: 179.7 kB / 1.192 GB, free: 2.074 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002056/0.8438, allocations: 1.534 MB / 1.193 GB, free: 408 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00081/0.8446, allocations: 108.7 kB / 1.193 GB, free: 300 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.338e-05/0.8447, allocations: 39.97 kB / 1.193 GB, free: 260 kB / 0.9356 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.0004745/0.8451, allocations: 276.2 kB / 1.194 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.8453, allocations: 82.97 kB / 1.194 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002525/0.8478, allocations: 1.152 MB / 1.195 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.8478, allocations: 8 kB / 1.195 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.8478, allocations: 0 / 1.195 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/0.8479, allocations: 15.91 kB / 1.195 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003303/0.8512, allocations: 2.031 MB / 1.197 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.8512, allocations: 0 / 1.197 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006189/0.8518, allocations: 159.8 kB / 1.197 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005432/0.8524, allocations: 84.78 kB / 1.197 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.163e-05/0.8524, allocations: 35.97 kB / 1.197 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001771/0.8542, allocations: 1.548 MB / 1.199 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.8542, allocations: 0 / 1.199 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002018/0.8563, allocations: 1.058 MB / 1.2 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003973/0.8567, allocations: 295.5 kB / 1.2 GB, free: 9.262 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.8568, allocations: 27.94 kB / 1.2 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000756/0.8576, allocations: 86.36 kB / 1.2 GB, free: 9.152 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/0.8577, allocations: 76.88 kB / 1.2 GB, free: 9.078 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.367e-05/0.8578, allocations: 35.98 kB / 1.2 GB, free: 9.043 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005704/0.8584, allocations: 467 kB / 1.201 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8584, allocations: 0 / 1.201 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008904/0.8593, allocations: 331.2 kB / 1.201 GB, free: 8.266 MB / 0.9512 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.001361/0.8607, allocations: 0.6102 MB / 1.201 GB, free: 7.832 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00178/0.8625, allocations: 0.8781 MB / 1.202 GB, free: 6.938 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.8625, allocations: 7.875 kB / 1.202 GB, free: 6.93 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009402/0.8634, allocations: 0.5434 MB / 1.203 GB, free: 6.375 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/0.8648, allocations: 286.8 kB / 1.203 GB, free: 6.105 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003402/0.8682, allocations: 2.158 MB / 1.205 GB, free: 3.926 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005781/0.8688, allocations: 1.036 MB / 1.206 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008566/0.8696, allocations: 267 kB / 1.206 GB, free: 2.594 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002959/0.8699, allocations: 107.4 kB / 1.207 GB, free: 2.488 MB / 0.9512 GB Notification: Performance of SimCode: time 6.31e-07/0.87, allocations: 4 kB / 1.207 GB, free: 2.484 MB / 0.9512 GB Notification: Performance of Templates: time 0.02748/0.8974, allocations: 14.82 MB / 1.221 GB, free: 3.836 MB / 0.9669 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 -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/jenkins/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