Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 213.5 kB / 22.25 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.493/1.493, allocations: 230.6 MB / 256 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.22/3.22, allocations: 0.4892 GB / 0.7943 GB, free: 35.63 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 70.89 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.324, allocations: 176.1 MB / 1.326 GB, free: 1.859 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007693/0.3317, allocations: 4.491 MB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1956/0.5272, allocations: 132.7 MB / 1.46 GB, free: 8.125 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/0.5283, allocations: 23.81 kB / 1.46 GB, free: 8.102 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.5293, allocations: 206.1 kB / 1.46 GB, free: 7.898 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002662/0.532, allocations: 0.5774 MB / 1.46 GB, free: 7.32 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00276/0.5348, allocations: 0.8809 MB / 1.461 GB, free: 6.445 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002724/0.5375, allocations: 1.448 MB / 1.463 GB, free: 4.992 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001101/0.5386, allocations: 402.1 kB / 1.463 GB, free: 4.574 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001143/0.5397, allocations: 0.5372 MB / 1.463 GB, free: 4.035 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001024/0.5408, allocations: 481.7 kB / 1.464 GB, free: 3.562 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003622/0.5411, allocations: 120 kB / 1.464 GB, free: 3.445 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00151/0.5426, allocations: 499.6 kB / 1.465 GB, free: 2.957 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0005026/0.5431, allocations: 311 kB / 1.465 GB, free: 2.652 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0009633/0.5441, allocations: 481.7 kB / 1.465 GB, free: 2.18 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003537/0.5476, allocations: 1.724 MB / 1.467 GB, free: 460 kB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 1.413e-05/0.5477, allocations: 0 / 1.467 GB, free: 460 kB / 1.154 GB Notification: Performance of FrontEnd: time 4.329e-06/0.5477, allocations: 4 kB / 1.467 GB, free: 456 kB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0001326/0.5478, allocations: 0 / 1.467 GB, free: 456 kB / 1.154 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.004922/0.5527, allocations: 1.464 MB / 1.468 GB, free: 14.95 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.5528, allocations: 8.031 kB / 1.468 GB, free: 14.94 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002013/0.5548, allocations: 252 kB / 1.469 GB, free: 14.69 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001809/0.5566, allocations: 0.7259 MB / 1.469 GB, free: 13.94 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.409e-05/0.5567, allocations: 66 kB / 1.469 GB, free: 13.87 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001847/0.5569, allocations: 87.94 kB / 1.469 GB, free: 13.79 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002386/0.5592, allocations: 1.193 MB / 1.471 GB, free: 12.49 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.936e-05/0.5593, allocations: 7.984 kB / 1.471 GB, free: 12.48 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.5594, allocations: 36 kB / 1.471 GB, free: 12.45 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.713e-05/0.5594, allocations: 27.94 kB / 1.471 GB, free: 12.42 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0022/0.5616, allocations: 1.081 MB / 1.472 GB, free: 11.34 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004885/0.5665, allocations: 2.127 MB / 1.474 GB, free: 9.156 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001765/0.5683, allocations: 0.7803 MB / 1.475 GB, free: 8.363 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005952/0.5689, allocations: 294.6 kB / 1.475 GB, free: 8.07 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.532e-05/0.5689, allocations: 32.56 kB / 1.475 GB, free: 8.039 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001086/0.57, allocations: 0.6169 MB / 1.476 GB, free: 7.383 MB / 1.17 GB Notification: Performance of pre-optimization done (n=85): time 3.206e-06/0.57, allocations: 0 / 1.476 GB, free: 7.383 MB / 1.17 GB Notification: Performance of matching and sorting (n=85): time 0.003614/0.5736, allocations: 1.188 MB / 1.477 GB, free: 6.184 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/0.5738, allocations: 188.9 kB / 1.477 GB, free: 5.957 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.5748, allocations: 0.6213 MB / 1.477 GB, free: 5.328 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.589e-05/0.5749, allocations: 41.7 kB / 1.478 GB, free: 5.281 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004477/0.5753, allocations: 413.1 kB / 1.478 GB, free: 4.871 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003139/0.5757, allocations: 285.6 kB / 1.478 GB, free: 4.59 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003367/0.576, allocations: 178.5 kB / 1.478 GB, free: 4.41 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002394/0.5762, allocations: 390.7 kB / 1.479 GB, free: 4.02 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006602/0.5769, allocations: 281.8 kB / 1.479 GB, free: 3.742 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008812/0.5778, allocations: 0.4966 MB / 1.479 GB, free: 3.199 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001334/0.5791, allocations: 0.6367 MB / 1.48 GB, free: 2.547 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.5791, allocations: 4 kB / 1.48 GB, free: 2.543 MB / 1.17 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002445/0.5816, allocations: 0.8805 MB / 1.481 GB, free: 1.656 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.5816, allocations: 9.719 kB / 1.481 GB, free: 1.648 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/0.5816, allocations: 0 / 1.481 GB, free: 1.648 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000639/0.5822, allocations: 88.8 kB / 1.481 GB, free: 1.559 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007227/0.5829, allocations: 171.7 kB / 1.481 GB, free: 1.391 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00239/0.5853, allocations: 1.516 MB / 1.483 GB, free: 15.77 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009083/0.5862, allocations: 87.56 kB / 1.483 GB, free: 15.68 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.5864, allocations: 44.03 kB / 1.483 GB, free: 15.64 MB / 1.186 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.0006355/0.587, allocations: 268.1 kB / 1.483 GB, free: 15.37 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000299/0.5873, allocations: 87.47 kB / 1.483 GB, free: 15.28 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002865/0.5902, allocations: 1.132 MB / 1.484 GB, free: 14.14 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/0.5902, allocations: 8 kB / 1.484 GB, free: 14.13 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/0.5902, allocations: 3.938 kB / 1.484 GB, free: 14.12 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.5902, allocations: 7.984 kB / 1.484 GB, free: 14.12 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004109/0.5943, allocations: 1.763 MB / 1.486 GB, free: 12.31 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.5943, allocations: 0 / 1.486 GB, free: 12.31 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006755/0.595, allocations: 159.7 kB / 1.486 GB, free: 12.16 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004693/0.5955, allocations: 72.78 kB / 1.486 GB, free: 12.08 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/0.5956, allocations: 27.97 kB / 1.486 GB, free: 12.05 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002277/0.5978, allocations: 1.52 MB / 1.488 GB, free: 10.42 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.5978, allocations: 7.875 kB / 1.488 GB, free: 10.41 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002577/0.6004, allocations: 1.061 MB / 1.489 GB, free: 9.332 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006325/0.601, allocations: 215 kB / 1.489 GB, free: 9.121 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001993/0.6012, allocations: 16 kB / 1.489 GB, free: 9.105 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007612/0.602, allocations: 67.92 kB / 1.489 GB, free: 9.039 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001933/0.6022, allocations: 84.84 kB / 1.489 GB, free: 8.957 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.208e-05/0.6023, allocations: 39.97 kB / 1.489 GB, free: 8.918 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0007328/0.603, allocations: 447 kB / 1.49 GB, free: 8.488 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.603, allocations: 0 / 1.49 GB, free: 8.488 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001252/0.6043, allocations: 347 kB / 1.49 GB, free: 8.148 MB / 1.186 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.002363/0.6066, allocations: 0.6416 MB / 1.491 GB, free: 7.711 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001983/0.6086, allocations: 0.8312 MB / 1.491 GB, free: 6.867 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.6086, allocations: 256 / 1.491 GB, free: 6.867 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001118/0.6097, allocations: 0.5157 MB / 1.492 GB, free: 6.34 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/0.6112, allocations: 306.4 kB / 1.492 GB, free: 6.062 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004035/0.6152, allocations: 1.741 MB / 1.494 GB, free: 4.297 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006254/0.6158, allocations: 457.2 kB / 1.494 GB, free: 3.816 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001041/0.6169, allocations: 262.7 kB / 1.495 GB, free: 3.555 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003716/0.6173, allocations: 115.3 kB / 1.495 GB, free: 3.441 MB / 1.186 GB Notification: Performance of SimCode: time 1.092e-06/0.6173, allocations: 0 / 1.495 GB, free: 3.441 MB / 1.186 GB Notification: Performance of Templates: time 0.0336/0.6509, allocations: 16.83 MB / 1.511 GB, free: 2.887 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.786413609981537]