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.001051/0.001051, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001295/0.001295, allocations: 168.7 kB / 15.95 MB, free: 200 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.352/1.352, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.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.567/2.567, allocations: 437.7 MB / 0.7117 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003347/0.0003348, allocations: 20 kB / 0.8722 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5994/0.5998, allocations: 153.8 MB / 1.022 GB, free: 124 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005164/0.605, allocations: 4.282 MB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1451/0.7501, allocations: 136.8 MB / 1.16 GB, free: 2.586 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005192/0.7507, allocations: 19.88 kB / 1.16 GB, free: 2.566 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0004544/0.7512, allocations: 138.8 kB / 1.16 GB, free: 2.43 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001223/0.7524, allocations: 474.3 kB / 1.161 GB, free: 1.969 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.7539, allocations: 0.6395 MB / 1.161 GB, free: 1.336 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001209/0.7551, allocations: 1.245 MB / 1.163 GB, free: 88 kB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006588/0.7558, allocations: 451.7 kB / 1.163 GB, free: 15.63 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004842/0.7563, allocations: 358.4 kB / 1.163 GB, free: 15.28 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004469/0.7567, allocations: 398.1 kB / 1.164 GB, free: 14.89 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.394e-05/0.7568, allocations: 24 kB / 1.164 GB, free: 14.87 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006702/0.7575, allocations: 343.6 kB / 1.164 GB, free: 14.53 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001951/0.7577, allocations: 191.1 kB / 1.164 GB, free: 14.34 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.7579, allocations: 205.1 kB / 1.165 GB, free: 14.14 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001118/0.759, allocations: 1.196 MB / 1.166 GB, free: 12.94 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.759, allocations: 0 / 1.166 GB, free: 12.94 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.643e-06/0.759, allocations: 0 / 1.166 GB, free: 12.94 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.367e-05/0.759, allocations: 0 / 1.166 GB, free: 12.94 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.002195/0.7612, allocations: 1.265 MB / 1.167 GB, free: 11.62 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.7613, allocations: 8.562 kB / 1.167 GB, free: 11.61 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008429/0.7621, allocations: 198.5 kB / 1.167 GB, free: 11.41 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009936/0.7631, allocations: 0.7194 MB / 1.168 GB, free: 10.65 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.22e-05/0.7632, allocations: 77.97 kB / 1.168 GB, free: 10.57 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.7633, allocations: 80 kB / 1.168 GB, free: 10.5 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001554/0.7649, allocations: 0.9457 MB / 1.169 GB, free: 9.512 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.7649, allocations: 3.938 kB / 1.169 GB, free: 9.508 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-05/0.765, allocations: 36 kB / 1.169 GB, free: 9.473 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.792e-05/0.765, allocations: 23.94 kB / 1.169 GB, free: 9.449 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/0.7668, allocations: 1.136 MB / 1.17 GB, free: 8.312 MB / 0.92 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.003918/0.7707, allocations: 2.786 MB / 1.173 GB, free: 5.41 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.7723, allocations: 0.912 MB / 1.174 GB, free: 4.48 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005311/0.7728, allocations: 320.8 kB / 1.174 GB, free: 4.168 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.632e-05/0.7729, allocations: 28.69 kB / 1.174 GB, free: 4.141 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008729/0.7738, allocations: 0.5236 MB / 1.175 GB, free: 3.594 MB / 0.92 GB Notification: Performance of pre-optimization done (n=85): time 2.304e-06/0.7738, allocations: 0 / 1.175 GB, free: 3.594 MB / 0.92 GB Notification: Performance of matching and sorting (n=85): time 0.003009/0.7768, allocations: 1.27 MB / 1.176 GB, free: 2.297 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.045e-05/0.7769, allocations: 192.9 kB / 1.176 GB, free: 2.066 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007487/0.7777, allocations: 0.6332 MB / 1.177 GB, free: 1.422 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.347e-05/0.7777, allocations: 45.7 kB / 1.177 GB, free: 1.371 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002989/0.778, allocations: 404.4 kB / 1.177 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001995/0.7783, allocations: 268.1 kB / 1.177 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.621e-05/0.7783, allocations: 20 kB / 1.177 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.7785, allocations: 398.7 kB / 1.178 GB, free: 292 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005285/0.779, allocations: 277.8 kB / 1.178 GB, free: 12 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006295/0.7797, allocations: 384 kB / 1.178 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005737/0.7802, allocations: 310.9 kB / 1.179 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.7802, allocations: 0 / 1.179 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001893/0.7821, allocations: 0.8956 MB / 1.179 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.7822, allocations: 8 kB / 1.179 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.7822, allocations: 0 / 1.179 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000548/0.7827, allocations: 88.78 kB / 1.18 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000699/0.7835, allocations: 175.8 kB / 1.18 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001871/0.7853, allocations: 1.53 MB / 1.181 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007222/0.7861, allocations: 122.6 kB / 1.181 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.448e-05/0.7862, allocations: 35.98 kB / 1.181 GB, free: 12.32 MB / 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 ($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.0003852/0.7866, allocations: 275.7 kB / 1.182 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.7867, allocations: 82.97 kB / 1.182 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002473/0.7892, allocations: 1.152 MB / 1.183 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.7892, allocations: 12 kB / 1.183 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.7892, allocations: 0 / 1.183 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.7892, allocations: 7.969 kB / 1.183 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003176/0.7924, allocations: 2.024 MB / 1.185 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.7924, allocations: 0 / 1.185 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006283/0.7931, allocations: 155.8 kB / 1.185 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004589/0.7935, allocations: 88.7 kB / 1.185 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.94e-05/0.7936, allocations: 31.98 kB / 1.185 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001698/0.7953, allocations: 1.536 MB / 1.187 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.7953, allocations: 0 / 1.187 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001962/0.7973, allocations: 1.055 MB / 1.188 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003854/0.7977, allocations: 299.5 kB / 1.188 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/0.7978, allocations: 19.98 kB / 1.188 GB, free: 5.344 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006652/0.7985, allocations: 88 kB / 1.188 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.7987, allocations: 76.88 kB / 1.188 GB, free: 5.18 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.519e-05/0.7987, allocations: 43.97 kB / 1.188 GB, free: 5.137 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005424/0.7993, allocations: 455 kB / 1.189 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7993, allocations: 0 / 1.189 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008868/0.8002, allocations: 331.2 kB / 1.189 GB, free: 4.371 MB / 0.9356 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.001418/0.8016, allocations: 0.6237 MB / 1.189 GB, free: 3.922 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001688/0.8033, allocations: 0.8744 MB / 1.19 GB, free: 3.035 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.8033, allocations: 0 / 1.19 GB, free: 3.035 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009064/0.8042, allocations: 0.5431 MB / 1.191 GB, free: 2.48 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.8054, allocations: 271.5 kB / 1.191 GB, free: 2.223 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002964/0.8084, allocations: 2.097 MB / 1.193 GB, free: 100 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005906/0.809, allocations: 1.043 MB / 1.194 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008473/0.8098, allocations: 263 kB / 1.194 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002833/0.8101, allocations: 115.3 kB / 1.195 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of SimCode: time 3e-07/0.8101, allocations: 0 / 1.195 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of Templates: time 0.02323/0.8334, allocations: 14.38 MB / 1.209 GB, free: 456 kB / 0.9512 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