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.001683/0.001683, allocations: 111 kB / 16.46 MB, free: 6.453 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.001964/0.001964, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.501/1.501, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.142/3.142, allocations: 0.4899 GB / 0.7915 GB, free: 33.31 MB / 0.6231 GB " [Timeout remaining time 177] 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.002062/0.002062, allocations: 72.12 kB / 1.149 GB, free: 26.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3334, allocations: 176.1 MB / 1.321 GB, free: 2.836 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007835/0.3413, allocations: 5.012 MB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1872/0.5285, allocations: 154 MB / 1.477 GB, free: 3.176 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007661/0.5293, allocations: 23.81 kB / 1.477 GB, free: 3.152 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005935/0.5299, allocations: 202.1 kB / 1.477 GB, free: 2.953 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001664/0.5315, allocations: 0.5669 MB / 1.477 GB, free: 2.387 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002002/0.5335, allocations: 0.8813 MB / 1.478 GB, free: 1.512 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001609/0.5351, allocations: 1.456 MB / 1.48 GB, free: 52 kB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007411/0.5359, allocations: 430.5 kB / 1.48 GB, free: 15.61 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006786/0.5366, allocations: 0.5217 MB / 1.48 GB, free: 15.08 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006555/0.5372, allocations: 0.5405 MB / 1.481 GB, free: 14.54 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001806/0.5374, allocations: 120 kB / 1.481 GB, free: 14.42 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009372/0.5383, allocations: 0.5074 MB / 1.482 GB, free: 13.91 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003076/0.5386, allocations: 318.9 kB / 1.482 GB, free: 13.6 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005719/0.5392, allocations: 0.5869 MB / 1.483 GB, free: 13.01 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002088/0.5413, allocations: 1.712 MB / 1.484 GB, free: 11.29 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.5413, allocations: 0 / 1.484 GB, free: 11.29 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5413, allocations: 0 / 1.484 GB, free: 11.29 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.544e-05/0.5413, allocations: 0 / 1.484 GB, free: 11.29 MB / 1.186 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.002831/0.5442, allocations: 1.532 MB / 1.486 GB, free: 9.707 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.5442, allocations: 11.98 kB / 1.486 GB, free: 9.695 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001782/0.546, allocations: 260 kB / 1.486 GB, free: 9.441 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.5473, allocations: 0.7903 MB / 1.487 GB, free: 8.609 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.027e-05/0.5473, allocations: 66 kB / 1.487 GB, free: 8.543 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.5475, allocations: 83.94 kB / 1.487 GB, free: 8.461 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/0.5492, allocations: 0.9457 MB / 1.488 GB, free: 7.477 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.5492, allocations: 0 / 1.488 GB, free: 7.477 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.629e-05/0.5493, allocations: 40 kB / 1.488 GB, free: 7.438 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.665e-05/0.5493, allocations: 20 kB / 1.488 GB, free: 7.418 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002036/0.5514, allocations: 1.128 MB / 1.489 GB, free: 6.285 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004358/0.5557, allocations: 2.802 MB / 1.492 GB, free: 3.355 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001704/0.5574, allocations: 0.8603 MB / 1.493 GB, free: 2.465 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005966/0.558, allocations: 290 kB / 1.493 GB, free: 2.18 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 9.15e-05/0.5581, allocations: 36.67 kB / 1.493 GB, free: 2.145 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000951/0.5591, allocations: 0.5178 MB / 1.493 GB, free: 1.613 MB / 1.186 GB Notification: Performance of pre-optimization done (n=85): time 2.284e-06/0.5591, allocations: 0 / 1.493 GB, free: 1.613 MB / 1.186 GB Notification: Performance of matching and sorting (n=85): time 0.003638/0.5627, allocations: 1.263 MB / 1.495 GB, free: 336 kB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/0.5628, allocations: 192.9 kB / 1.495 GB, free: 96 kB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009427/0.5638, allocations: 0.6684 MB / 1.495 GB, free: 15.42 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 8.114e-05/0.5639, allocations: 45.7 kB / 1.495 GB, free: 15.37 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003664/0.5642, allocations: 413.1 kB / 1.496 GB, free: 14.96 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002724/0.5645, allocations: 285.6 kB / 1.496 GB, free: 14.68 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002862/0.5648, allocations: 178.5 kB / 1.496 GB, free: 14.5 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002156/0.565, allocations: 390.8 kB / 1.497 GB, free: 14.11 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000605/0.5656, allocations: 281.8 kB / 1.497 GB, free: 13.83 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007319/0.5663, allocations: 376 kB / 1.497 GB, free: 13.45 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/0.5676, allocations: 0.6367 MB / 1.498 GB, free: 12.8 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.5676, allocations: 0 / 1.498 GB, free: 12.8 MB / 1.201 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002202/0.5698, allocations: 0.8999 MB / 1.499 GB, free: 11.88 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.5698, allocations: 7.938 kB / 1.499 GB, free: 11.88 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.5698, allocations: 4.125 kB / 1.499 GB, free: 11.87 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00064/0.5705, allocations: 76.78 kB / 1.499 GB, free: 11.79 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007421/0.5712, allocations: 175.8 kB / 1.499 GB, free: 11.62 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002359/0.5736, allocations: 1.634 MB / 1.501 GB, free: 9.84 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00089/0.5745, allocations: 99.52 kB / 1.501 GB, free: 9.742 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.281e-05/0.5746, allocations: 39.97 kB / 1.501 GB, free: 9.703 MB / 1.201 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.0005388/0.5751, allocations: 277.2 kB / 1.501 GB, free: 9.418 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000209/0.5753, allocations: 91.44 kB / 1.501 GB, free: 9.328 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002729/0.578, allocations: 1.144 MB / 1.502 GB, free: 8.168 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.5781, allocations: 12 kB / 1.502 GB, free: 8.156 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.5781, allocations: 0 / 1.502 GB, free: 8.156 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.5781, allocations: 3.984 kB / 1.502 GB, free: 8.152 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003687/0.5818, allocations: 2.036 MB / 1.504 GB, free: 6.055 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.5818, allocations: 0 / 1.504 GB, free: 6.055 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006424/0.5824, allocations: 151.7 kB / 1.504 GB, free: 5.906 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000455/0.5829, allocations: 76.78 kB / 1.504 GB, free: 5.828 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.32e-05/0.5829, allocations: 27.98 kB / 1.504 GB, free: 5.801 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002131/0.585, allocations: 1.662 MB / 1.506 GB, free: 3.996 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.585, allocations: 0 / 1.506 GB, free: 3.996 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002322/0.5874, allocations: 1.061 MB / 1.507 GB, free: 2.914 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004289/0.5878, allocations: 280.2 kB / 1.507 GB, free: 2.621 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001282/0.5879, allocations: 27.98 kB / 1.507 GB, free: 2.594 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007114/0.5886, allocations: 63.94 kB / 1.507 GB, free: 2.531 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/0.5888, allocations: 76.89 kB / 1.508 GB, free: 2.457 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.252e-05/0.5889, allocations: 39.97 kB / 1.508 GB, free: 2.418 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006706/0.5896, allocations: 483 kB / 1.508 GB, free: 1.953 MB / 1.201 GB Notification: Performance of sort global known variables: time 6e-08/0.5896, allocations: 0 / 1.508 GB, free: 1.953 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.000993/0.5906, allocations: 343.1 kB / 1.508 GB, free: 1.617 MB / 1.201 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.002078/0.5926, allocations: 0.6278 MB / 1.509 GB, free: 1.164 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001871/0.5945, allocations: 0.8389 MB / 1.51 GB, free: 320 kB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.5945, allocations: 4 kB / 1.51 GB, free: 316 kB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.5956, allocations: 0.5121 MB / 1.51 GB, free: 15.79 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/0.5968, allocations: 302.2 kB / 1.511 GB, free: 15.5 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003215/0.6001, allocations: 1.744 MB / 1.512 GB, free: 13.73 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007257/0.6008, allocations: 1.042 MB / 1.513 GB, free: 12.67 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0007647/0.6015, allocations: 275 kB / 1.514 GB, free: 12.39 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003113/0.6019, allocations: 123.3 kB / 1.514 GB, free: 12.27 MB / 1.217 GB Notification: Performance of SimCode: time 6.11e-07/0.6019, allocations: 0 / 1.514 GB, free: 12.27 MB / 1.217 GB Notification: Performance of Templates: time 0.02846/0.6303, allocations: 16.05 MB / 1.529 GB, free: 12.4 MB / 1.232 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.496191066224128]