Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001204/0.001205, allocations: 91.3 kB / 15.06 MB, free: 1.098 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.001469/0.001469, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.927/2.927, allocations: 462.6 MB / 0.736 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003942/0.0003943, allocations: 12.06 kB / 0.9021 GB, free: 36.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3629, allocations: 159.6 MB / 1.058 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006107/0.3691, allocations: 4.268 MB / 1.062 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1793/0.5484, allocations: 136.9 MB / 1.196 GB, free: 7.781 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007284/0.5492, allocations: 15.94 kB / 1.196 GB, free: 7.766 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000506/0.5497, allocations: 138.8 kB / 1.196 GB, free: 7.629 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001428/0.5511, allocations: 479.6 kB / 1.196 GB, free: 7.16 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001819/0.553, allocations: 0.6455 MB / 1.197 GB, free: 6.523 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001425/0.5544, allocations: 1.238 MB / 1.198 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007194/0.5551, allocations: 451.7 kB / 1.199 GB, free: 4.82 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005205/0.5557, allocations: 362.4 kB / 1.199 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000478/0.5562, allocations: 390.1 kB / 1.199 GB, free: 4.082 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.665e-05/0.5562, allocations: 28 kB / 1.199 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007316/0.557, allocations: 339.6 kB / 1.2 GB, free: 3.723 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002145/0.5572, allocations: 183.2 kB / 1.2 GB, free: 3.543 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001876/0.5574, allocations: 213.1 kB / 1.2 GB, free: 3.328 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.5586, allocations: 1.192 MB / 1.201 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.5586, allocations: 0 / 1.201 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.223e-06/0.5586, allocations: 0 / 1.201 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.5586, allocations: 0 / 1.201 GB, free: 2.133 MB / 0.9512 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.002389/0.561, allocations: 1.265 MB / 1.203 GB, free: 0.8164 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.561, allocations: 12.03 kB / 1.203 GB, free: 0.8047 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008667/0.5619, allocations: 198.4 kB / 1.203 GB, free: 0.6094 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.563, allocations: 0.7234 MB / 1.203 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.639e-05/0.5631, allocations: 69.98 kB / 1.204 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.5632, allocations: 84 kB / 1.204 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/0.5649, allocations: 0.9418 MB / 1.205 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.5649, allocations: 3.938 kB / 1.205 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.26e-05/0.565, allocations: 40 kB / 1.205 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.171e-05/0.5651, allocations: 20 kB / 1.205 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/0.5668, allocations: 1.132 MB / 1.206 GB, free: 13.51 MB / 0.9669 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.004054/0.5709, allocations: 2.797 MB / 1.208 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/0.5724, allocations: 0.9127 MB / 1.209 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005734/0.573, allocations: 318.7 kB / 1.21 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.848e-05/0.5731, allocations: 32.69 kB / 1.21 GB, free: 9.312 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009228/0.574, allocations: 0.5159 MB / 1.21 GB, free: 8.781 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=85): time 2.665e-06/0.5741, allocations: 0 / 1.21 GB, free: 8.781 MB / 0.9669 GB Notification: Performance of matching and sorting (n=85): time 0.00306/0.5771, allocations: 1.271 MB / 1.211 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/0.5773, allocations: 188.9 kB / 1.212 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008659/0.5781, allocations: 0.6371 MB / 1.212 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.984e-05/0.5782, allocations: 49.69 kB / 1.212 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003484/0.5786, allocations: 392.5 kB / 1.213 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002254/0.5788, allocations: 280 kB / 1.213 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.493e-05/0.5789, allocations: 16 kB / 1.213 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.00019/0.5791, allocations: 390.7 kB / 1.213 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005064/0.5796, allocations: 281.8 kB / 1.214 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005901/0.5802, allocations: 384 kB / 1.214 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005832/0.5808, allocations: 314.9 kB / 1.214 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.5808, allocations: 0 / 1.214 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.00183/0.5826, allocations: 0.8955 MB / 1.215 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.5826, allocations: 7.984 kB / 1.215 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.5827, allocations: 7.938 kB / 1.215 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005195/0.5832, allocations: 76.91 kB / 1.215 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007137/0.5839, allocations: 175.8 kB / 1.215 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002015/0.5859, allocations: 1.524 MB / 1.217 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008081/0.5868, allocations: 109.1 kB / 1.217 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.202e-05/0.5869, allocations: 39.97 kB / 1.217 GB, free: 1.531 MB / 0.9669 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 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.decAng.tNext,decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005612/0.5874, allocations: 275.8 kB / 1.217 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001786/0.5876, allocations: 86.97 kB / 1.217 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002616/0.5902, allocations: 1.152 MB / 1.218 GB, free: 0 / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.447e-05/0.5903, allocations: 8.047 kB / 1.218 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.5903, allocations: 4 kB / 1.218 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.5903, allocations: 15.88 kB / 1.218 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003375/0.5937, allocations: 2.016 MB / 1.22 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.5937, allocations: 3.984 kB / 1.22 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006105/0.5943, allocations: 155.8 kB / 1.221 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000479/0.5948, allocations: 92.7 kB / 1.221 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.836e-05/0.5949, allocations: 23.98 kB / 1.221 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001861/0.5968, allocations: 1.548 MB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.5968, allocations: 0 / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001958/0.5987, allocations: 1.055 MB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004383/0.5992, allocations: 287.7 kB / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/0.5993, allocations: 27.98 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006633/0.6, allocations: 85.91 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/0.6002, allocations: 76.88 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-05/0.6003, allocations: 39.97 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006354/0.6009, allocations: 463 kB / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/0.601, allocations: 0 / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00105/0.602, allocations: 331.2 kB / 1.224 GB, free: 9.559 MB / 0.9825 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00159/0.6036, allocations: 0.6115 MB / 1.225 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001911/0.6055, allocations: 0.8663 MB / 1.226 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.6056, allocations: 8.25 kB / 1.226 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0009975/0.6066, allocations: 0.5393 MB / 1.226 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.6078, allocations: 267 kB / 1.227 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003587/0.6114, allocations: 2.101 MB / 1.229 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007668/0.6122, allocations: 1.04 MB / 1.23 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0009684/0.6132, allocations: 267 kB / 1.23 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003079/0.6135, allocations: 115.3 kB / 1.23 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of SimCode: time 2.034e-06/0.6135, allocations: 0 / 1.23 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of Templates: time 0.02757/0.6411, allocations: 14.39 MB / 1.244 GB, free: 5.645 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches