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.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.001273/0.001273, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001468/0.001468, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9038/0.9038, allocations: 177.1 MB / 203.5 MB, free: 5.41 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.739/1.739, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.632e-05/2.787e-05, allocations: 5.375 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004542/0.00457, allocations: 4.487 MB / 1.005 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.5524/0.557, allocations: 132.8 MB / 1.135 GB, free: 14.88 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007307/0.5577, allocations: 22.62 kB / 1.135 GB, free: 14.87 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0005589/0.5583, allocations: 204.3 kB / 1.135 GB, free: 14.73 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001634/0.5599, allocations: 0.5905 MB / 1.136 GB, free: 14.39 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.00186/0.5618, allocations: 0.8899 MB / 1.137 GB, free: 13.93 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001694/0.5635, allocations: 1.526 MB / 1.138 GB, free: 13.12 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006554/0.5641, allocations: 410.6 kB / 1.138 GB, free: 12.89 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001115/0.5653, allocations: 0.7786 MB / 1.139 GB, free: 12.52 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005731/0.5658, allocations: 430.9 kB / 1.14 GB, free: 12.36 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001447/0.566, allocations: 127.8 kB / 1.14 GB, free: 12.36 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.567, allocations: 0.4954 MB / 1.14 GB, free: 12.25 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002841/0.5673, allocations: 329.9 kB / 1.141 GB, free: 12.04 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003659/0.5677, allocations: 410 kB / 1.141 GB, free: 11.83 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002226/0.5699, allocations: 1.851 MB / 1.143 GB, free: 11.06 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.5699, allocations: 0 / 1.143 GB, free: 11.06 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.874e-06/0.5699, allocations: 4 kB / 1.143 GB, free: 11.06 MB / 1.01 GB Notification: Performance of Transformations before backend: time 3.048e-05/0.5699, allocations: 1.094 kB / 1.143 GB, free: 11.06 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 225 * Number of variables: 225 Notification: Performance of Generate backend data structure: time 0.002554/0.5725, allocations: 1.472 MB / 1.144 GB, free: 10.1 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.5725, allocations: 10.22 kB / 1.144 GB, free: 10.1 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/0.5737, allocations: 252.7 kB / 1.144 GB, free: 10.03 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.5749, allocations: 0.7403 MB / 1.145 GB, free: 9.562 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.246e-05/0.575, allocations: 69.31 kB / 1.145 GB, free: 9.535 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.847e-05/0.5751, allocations: 94.14 kB / 1.145 GB, free: 9.504 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/0.5767, allocations: 1.227 MB / 1.147 GB, free: 8.746 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.5768, allocations: 0 / 1.147 GB, free: 8.746 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.12e-05/0.5768, allocations: 38.66 kB / 1.147 GB, free: 8.719 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.343e-05/0.5768, allocations: 22.03 kB / 1.147 GB, free: 8.719 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001542/0.5784, allocations: 1.088 MB / 1.148 GB, free: 8.457 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003615/0.582, allocations: 2.281 MB / 1.15 GB, free: 7.133 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.5833, allocations: 0.848 MB / 1.151 GB, free: 6.809 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004332/0.5838, allocations: 321.7 kB / 1.151 GB, free: 6.688 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 7.218e-05/0.5838, allocations: 26.95 kB / 1.151 GB, free: 6.684 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008465/0.5847, allocations: 0.6421 MB / 1.152 GB, free: 6.332 MB / 1.01 GB Notification: Performance of pre-optimization done (n=95): time 4.93e-06/0.5847, allocations: 3.938 kB / 1.152 GB, free: 6.328 MB / 1.01 GB Notification: Performance of matching and sorting (n=95): time 0.002454/0.5871, allocations: 1.233 MB / 1.153 GB, free: 5.891 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.5872, allocations: 205.5 kB / 1.153 GB, free: 5.66 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000787/0.588, allocations: 0.6167 MB / 1.154 GB, free: 5.387 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 8.823e-05/0.5881, allocations: 55.78 kB / 1.154 GB, free: 5.336 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002968/0.5884, allocations: 411.7 kB / 1.154 GB, free: 5.016 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002137/0.5886, allocations: 309.1 kB / 1.154 GB, free: 4.77 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000229/0.5889, allocations: 205.7 kB / 1.155 GB, free: 4.672 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.589, allocations: 387.3 kB / 1.155 GB, free: 4.328 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00045/0.5895, allocations: 314.2 kB / 1.155 GB, free: 4.219 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005546/0.59, allocations: 0.5353 MB / 1.156 GB, free: 3.875 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008906/0.5909, allocations: 0.6891 MB / 1.156 GB, free: 3.555 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/0.5909, allocations: 0 / 1.156 GB, free: 3.555 MB / 1.01 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001547/0.5925, allocations: 0.9793 MB / 1.157 GB, free: 3.164 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.5925, allocations: 5.125 kB / 1.157 GB, free: 3.164 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.5925, allocations: 1.781 kB / 1.157 GB, free: 3.164 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003314/0.5928, allocations: 80.42 kB / 1.158 GB, free: 3.148 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004314/0.5932, allocations: 184.2 kB / 1.158 GB, free: 3.129 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/0.5946, allocations: 1.501 MB / 1.159 GB, free: 1.758 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005399/0.5952, allocations: 108.3 kB / 1.159 GB, free: 1.699 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.9e-05/0.5953, allocations: 45.55 kB / 1.159 GB, free: 1.691 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 32 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.k,$PRE.decAng.k,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 (117): * Single equations (assignments): 116 * 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.0005162/0.5958, allocations: 283.2 kB / 1.16 GB, free: 1.48 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.5959, allocations: 93.3 kB / 1.16 GB, free: 1.43 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001732/0.5976, allocations: 1.169 MB / 1.161 GB, free: 0.9688 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.5976, allocations: 11.75 kB / 1.161 GB, free: 0.9688 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.5977, allocations: 0 / 1.161 GB, free: 0.9688 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.5977, allocations: 6.094 kB / 1.161 GB, free: 0.9688 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002794/0.6005, allocations: 2.034 MB / 1.163 GB, free: 15.97 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.6005, allocations: 4 kB / 1.163 GB, free: 15.97 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003581/0.6008, allocations: 160.1 kB / 1.163 GB, free: 15.96 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002364/0.6011, allocations: 69.56 kB / 1.163 GB, free: 15.94 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.694e-05/0.6011, allocations: 39.19 kB / 1.163 GB, free: 15.92 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001208/0.6023, allocations: 1.523 MB / 1.165 GB, free: 14.54 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/0.6023, allocations: 2.469 kB / 1.165 GB, free: 14.54 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/0.6039, allocations: 1.094 MB / 1.166 GB, free: 14.05 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003632/0.6043, allocations: 207.8 kB / 1.166 GB, free: 13.94 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.724e-05/0.6044, allocations: 24.64 kB / 1.166 GB, free: 13.92 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000366/0.6048, allocations: 69.58 kB / 1.166 GB, free: 13.91 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/0.6049, allocations: 82.84 kB / 1.166 GB, free: 13.89 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.448e-05/0.605, allocations: 39.8 kB / 1.166 GB, free: 13.89 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.000513/0.6055, allocations: 451.8 kB / 1.166 GB, free: 13.68 MB / 1.026 GB Notification: Performance of sort global known variables: time 2e-07/0.6055, allocations: 0 / 1.166 GB, free: 13.68 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.001018/0.6065, allocations: 353.8 kB / 1.167 GB, free: 13.59 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,decAng.k,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 12 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,decAng.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k,decAng.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.001176/0.6077, allocations: 0.6644 MB / 1.167 GB, free: 13.32 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.001579/0.6093, allocations: 0.8978 MB / 1.168 GB, free: 12.95 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.6093, allocations: 0 / 1.168 GB, free: 12.95 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0006489/0.6099, allocations: 0.5242 MB / 1.169 GB, free: 12.71 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000859/0.6108, allocations: 301.2 kB / 1.169 GB, free: 12.61 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/0.6134, allocations: 1.801 MB / 1.171 GB, free: 11.67 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004639/0.6139, allocations: 458.2 kB / 1.171 GB, free: 11.54 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002924/0.6142, allocations: 131.8 kB / 1.171 GB, free: 11.51 MB / 1.026 GB Notification: Performance of SimCode: time 1.353e-06/0.6142, allocations: 1.25 kB / 1.171 GB, free: 11.51 MB / 1.026 GB Notification: Performance of Templates: time 0.0256/0.6398, allocations: 19.95 MB / 1.191 GB, free: 4.523 MB / 1.026 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.90239926148206]