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.001422/0.001422, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001726/0.001726, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.332/1.332, allocations: 222.9 MB / 239.8 MB, free: 4.621 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.612/2.612, allocations: 437 MB / 0.7099 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 55.91 kB / 0.8685 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6823/0.6836, allocations: 151.6 MB / 1.017 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006679/0.6903, allocations: 4.97 MB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1583/0.8486, allocations: 148.3 MB / 1.166 GB, free: 8.949 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009371/0.8496, allocations: 23.88 kB / 1.166 GB, free: 8.926 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0008097/0.8504, allocations: 150.8 kB / 1.166 GB, free: 8.777 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001915/0.8524, allocations: 483.6 kB / 1.167 GB, free: 8.305 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002012/0.8544, allocations: 0.7327 MB / 1.168 GB, free: 7.578 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001754/0.8562, allocations: 1.335 MB / 1.169 GB, free: 6.238 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009321/0.8571, allocations: 0.5752 MB / 1.17 GB, free: 5.645 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006151/0.8578, allocations: 438.3 kB / 1.17 GB, free: 5.215 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005034/0.8583, allocations: 497.7 kB / 1.17 GB, free: 4.727 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001223/0.8584, allocations: 60 kB / 1.17 GB, free: 4.668 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007987/0.8592, allocations: 395.7 kB / 1.171 GB, free: 4.281 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002352/0.8595, allocations: 247 kB / 1.171 GB, free: 4.039 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005316/0.86, allocations: 0.5127 MB / 1.172 GB, free: 3.523 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00156/0.8616, allocations: 1.577 MB / 1.173 GB, free: 1.941 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.8616, allocations: 0 / 1.173 GB, free: 1.941 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.627e-06/0.8616, allocations: 0 / 1.173 GB, free: 1.941 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.737e-05/0.8616, allocations: 7.938 kB / 1.173 GB, free: 1.934 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.002832/0.8645, allocations: 1.46 MB / 1.175 GB, free: 428 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.8645, allocations: 8.031 kB / 1.175 GB, free: 420 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009145/0.8654, allocations: 183.4 kB / 1.175 GB, free: 236 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.8665, allocations: 0.7546 MB / 1.175 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.817e-05/0.8666, allocations: 66 kB / 1.176 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/0.8667, allocations: 84 kB / 1.176 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.8684, allocations: 0.9495 MB / 1.177 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.8684, allocations: 3.938 kB / 1.177 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.975e-05/0.8685, allocations: 36 kB / 1.177 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/0.8685, allocations: 24 kB / 1.177 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001816/0.8703, allocations: 1.132 MB / 1.178 GB, free: 13.1 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.004176/0.8745, allocations: 2.76 MB / 1.18 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/0.8761, allocations: 0.9163 MB / 1.181 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005418/0.8767, allocations: 314.7 kB / 1.182 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.85e-05/0.8768, allocations: 32.69 kB / 1.182 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000972/0.8778, allocations: 0.5198 MB / 1.182 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=85): time 2.304e-06/0.8778, allocations: 0 / 1.182 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of matching and sorting (n=85): time 0.003374/0.8811, allocations: 1.255 MB / 1.183 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.8813, allocations: 196.8 kB / 1.184 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007796/0.882, allocations: 0.6487 MB / 1.184 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.64e-05/0.8821, allocations: 41.7 kB / 1.184 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003158/0.8825, allocations: 404.5 kB / 1.185 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002347/0.8827, allocations: 276.1 kB / 1.185 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003074/0.883, allocations: 174.4 kB / 1.185 GB, free: 5.328 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001986/0.8832, allocations: 382.8 kB / 1.185 GB, free: 4.945 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006308/0.8839, allocations: 281.8 kB / 1.186 GB, free: 4.672 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000684/0.8845, allocations: 384 kB / 1.186 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/0.8857, allocations: 0.6329 MB / 1.187 GB, free: 3.629 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.8857, allocations: 0 / 1.187 GB, free: 3.629 MB / 0.9356 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002011/0.8878, allocations: 0.8839 MB / 1.188 GB, free: 2.734 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.8878, allocations: 11.94 kB / 1.188 GB, free: 2.723 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.8878, allocations: 3.984 kB / 1.188 GB, free: 2.719 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005902/0.8884, allocations: 76.91 kB / 1.188 GB, free: 2.641 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006903/0.8891, allocations: 175.7 kB / 1.188 GB, free: 2.469 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002258/0.8914, allocations: 1.528 MB / 1.189 GB, free: 0.8008 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008643/0.8923, allocations: 95.27 kB / 1.189 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.868e-05/0.8923, allocations: 39.97 kB / 1.189 GB, free: 0.668 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 (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.0005468/0.8929, allocations: 284.3 kB / 1.19 GB, free: 392 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001869/0.8931, allocations: 86.97 kB / 1.19 GB, free: 304 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002591/0.8957, allocations: 1.136 MB / 1.191 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.8957, allocations: 15.94 kB / 1.191 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.8957, allocations: 0 / 1.191 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.491e-05/0.8957, allocations: 11.91 kB / 1.191 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003441/0.8992, allocations: 2.02 MB / 1.193 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.8992, allocations: 0 / 1.193 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006167/0.8998, allocations: 163.8 kB / 1.193 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004987/0.9003, allocations: 76.78 kB / 1.193 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.103e-05/0.9004, allocations: 31.97 kB / 1.193 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001895/0.9023, allocations: 1.54 MB / 1.195 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.9023, allocations: 4.062 kB / 1.195 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002101/0.9044, allocations: 1.047 MB / 1.196 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003567/0.9048, allocations: 287.6 kB / 1.196 GB, free: 9.719 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.9049, allocations: 27.94 kB / 1.196 GB, free: 9.691 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006708/0.9056, allocations: 69.61 kB / 1.196 GB, free: 9.625 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/0.9058, allocations: 72.89 kB / 1.196 GB, free: 9.551 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.37e-05/0.9059, allocations: 39.97 kB / 1.196 GB, free: 9.512 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005697/0.9065, allocations: 463 kB / 1.197 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9065, allocations: 4 kB / 1.197 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008945/0.9074, allocations: 339.2 kB / 1.197 GB, free: 8.727 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.001351/0.9087, allocations: 0.6048 MB / 1.197 GB, free: 8.301 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001771/0.9105, allocations: 0.8705 MB / 1.198 GB, free: 7.418 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/0.9105, allocations: 4 kB / 1.198 GB, free: 7.414 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009733/0.9115, allocations: 0.5314 MB / 1.199 GB, free: 6.871 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.9128, allocations: 275.7 kB / 1.199 GB, free: 6.609 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003401/0.9162, allocations: 2.137 MB / 1.201 GB, free: 4.445 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006151/0.9168, allocations: 1.036 MB / 1.202 GB, free: 3.379 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009709/0.9178, allocations: 274.9 kB / 1.202 GB, free: 3.105 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003041/0.9181, allocations: 107.4 kB / 1.203 GB, free: 3 MB / 0.9512 GB Notification: Performance of SimCode: time 3.61e-07/0.9181, allocations: 4 kB / 1.203 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of Templates: time 0.02475/0.9429, allocations: 14.93 MB / 1.217 GB, free: 4.238 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