Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.0008914/0.0008914, allocations: 76.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.0008378/0.0008378, allocations: 173.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.8984/0.8984, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.747/1.747, allocations: 389 MB / 0.6338 GB, free: 12.69 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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.211e-05/2.383e-05, allocations: 2.281 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004729/0.004753, allocations: 4.65 MB / 1.005 GB, free: 8.344 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.6296/0.6343, allocations: 132.8 MB / 1.135 GB, free: 14.77 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008515/0.6352, allocations: 24.28 kB / 1.135 GB, free: 14.76 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0005909/0.6358, allocations: 210.2 kB / 1.135 GB, free: 14.62 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001485/0.6372, allocations: 0.5983 MB / 1.136 GB, free: 14.27 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001745/0.639, allocations: 0.8874 MB / 1.137 GB, free: 13.81 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001307/0.6403, allocations: 1.531 MB / 1.138 GB, free: 13 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006786/0.641, allocations: 452.7 kB / 1.139 GB, free: 12.75 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008877/0.6419, allocations: 0.8056 MB / 1.139 GB, free: 12.36 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004706/0.6423, allocations: 439.5 kB / 1.14 GB, free: 12.2 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001404/0.6425, allocations: 134.8 kB / 1.14 GB, free: 12.2 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008298/0.6433, allocations: 0.5062 MB / 1.141 GB, free: 12.08 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002747/0.6436, allocations: 335 kB / 1.141 GB, free: 11.86 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003479/0.6439, allocations: 431.8 kB / 1.141 GB, free: 11.65 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001959/0.6459, allocations: 1.911 MB / 1.143 GB, free: 10.86 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.6459, allocations: 0 / 1.143 GB, free: 10.86 MB / 1.01 GB Notification: Performance of FrontEnd: time 3.176e-06/0.6459, allocations: 4 kB / 1.143 GB, free: 10.85 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.541e-05/0.6459, allocations: 0 / 1.143 GB, free: 10.85 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.001959/0.6479, allocations: 1.499 MB / 1.145 GB, free: 9.875 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.6479, allocations: 10.94 kB / 1.145 GB, free: 9.875 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009868/0.6489, allocations: 280.8 kB / 1.145 GB, free: 9.797 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.6499, allocations: 0.7341 MB / 1.146 GB, free: 9.344 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.736e-05/0.65, allocations: 77.2 kB / 1.146 GB, free: 9.309 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.6501, allocations: 105.9 kB / 1.146 GB, free: 9.27 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/0.6516, allocations: 1.278 MB / 1.147 GB, free: 8.508 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.6516, allocations: 0 / 1.147 GB, free: 8.508 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.985e-05/0.6517, allocations: 38.64 kB / 1.147 GB, free: 8.48 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.477e-05/0.6517, allocations: 24.38 kB / 1.147 GB, free: 8.48 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001548/0.6533, allocations: 1.139 MB / 1.148 GB, free: 8.195 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003213/0.6565, allocations: 2.309 MB / 1.15 GB, free: 6.898 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001611/0.6581, allocations: 0.8982 MB / 1.151 GB, free: 6.574 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004454/0.6585, allocations: 309.1 kB / 1.152 GB, free: 6.457 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 7.245e-05/0.6586, allocations: 27.39 kB / 1.152 GB, free: 6.453 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000783/0.6594, allocations: 0.6261 MB / 1.152 GB, free: 6.105 MB / 1.01 GB Notification: Performance of pre-optimization done (n=90): time 1.864e-06/0.6594, allocations: 2.812 kB / 1.152 GB, free: 6.105 MB / 1.01 GB Notification: Performance of matching and sorting (n=90): time 0.002118/0.6615, allocations: 1.207 MB / 1.153 GB, free: 5.676 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.6616, allocations: 200.6 kB / 1.154 GB, free: 5.449 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006352/0.6622, allocations: 0.5997 MB / 1.154 GB, free: 5.176 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.702e-05/0.6623, allocations: 49.7 kB / 1.154 GB, free: 5.129 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002856/0.6626, allocations: 443.7 kB / 1.155 GB, free: 4.785 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001855/0.6628, allocations: 294.6 kB / 1.155 GB, free: 4.551 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002166/0.663, allocations: 188 kB / 1.155 GB, free: 4.465 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.6631, allocations: 384.9 kB / 1.155 GB, free: 4.121 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004645/0.6636, allocations: 305.2 kB / 1.156 GB, free: 4.016 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005905/0.6642, allocations: 0.5211 MB / 1.156 GB, free: 3.688 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009316/0.6651, allocations: 0.6637 MB / 1.157 GB, free: 3.387 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.6651, allocations: 5.094 kB / 1.157 GB, free: 3.383 MB / 1.01 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001474/0.6666, allocations: 0.9427 MB / 1.158 GB, free: 3.004 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.6666, allocations: 9.969 kB / 1.158 GB, free: 3 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.6666, allocations: 0.875 kB / 1.158 GB, free: 3 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003401/0.667, allocations: 80.64 kB / 1.158 GB, free: 2.984 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004215/0.6674, allocations: 180.7 kB / 1.158 GB, free: 2.961 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/0.6689, allocations: 1.502 MB / 1.16 GB, free: 1.598 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003837/0.6692, allocations: 95.81 kB / 1.16 GB, free: 1.555 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.386e-05/0.6693, allocations: 41.22 kB / 1.16 GB, free: 1.547 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 108 * 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.0003723/0.6697, allocations: 287.4 kB / 1.16 GB, free: 1.332 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.6698, allocations: 87.75 kB / 1.16 GB, free: 1.285 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001735/0.6715, allocations: 1.118 MB / 1.161 GB, free: 0.8477 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.669e-06/0.6715, allocations: 13.56 kB / 1.161 GB, free: 0.8438 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.6715, allocations: 0 / 1.161 GB, free: 0.8438 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/0.6716, allocations: 6.453 kB / 1.161 GB, free: 0.8438 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002704/0.6743, allocations: 1.957 MB / 1.163 GB, free: 15.89 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.6743, allocations: 0 / 1.163 GB, free: 15.89 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003607/0.6746, allocations: 152.1 kB / 1.163 GB, free: 15.88 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002382/0.6749, allocations: 85.77 kB / 1.163 GB, free: 15.85 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.707e-05/0.6749, allocations: 29.53 kB / 1.163 GB, free: 15.84 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001212/0.6761, allocations: 1.53 MB / 1.165 GB, free: 14.46 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.6761, allocations: 0.7969 kB / 1.165 GB, free: 14.46 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/0.6776, allocations: 1.053 MB / 1.166 GB, free: 13.98 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000292/0.6779, allocations: 203.6 kB / 1.166 GB, free: 13.87 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.803e-05/0.6779, allocations: 24.55 kB / 1.166 GB, free: 13.85 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003406/0.6783, allocations: 71.34 kB / 1.166 GB, free: 13.83 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/0.6785, allocations: 79.41 kB / 1.166 GB, free: 13.82 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.084e-05/0.6785, allocations: 37.31 kB / 1.166 GB, free: 13.81 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0004851/0.679, allocations: 431.4 kB / 1.167 GB, free: 13.62 MB / 1.026 GB Notification: Performance of sort global known variables: time 3.71e-07/0.679, allocations: 0 / 1.167 GB, free: 13.62 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0008919/0.6799, allocations: 360.5 kB / 1.167 GB, free: 13.52 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: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,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: 10 (weaDat.conTim.tNext,weaDat.eqnTim.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001313/0.6812, allocations: 0.6661 MB / 1.168 GB, free: 13.25 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.001343/0.6826, allocations: 0.8645 MB / 1.169 GB, free: 12.9 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.6826, allocations: 0 / 1.169 GB, free: 12.9 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0006438/0.6832, allocations: 0.5101 MB / 1.169 GB, free: 12.66 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007785/0.684, allocations: 290.8 kB / 1.169 GB, free: 12.57 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002429/0.6864, allocations: 1.827 MB / 1.171 GB, free: 11.61 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004614/0.6869, allocations: 468.9 kB / 1.172 GB, free: 11.47 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002603/0.6871, allocations: 127.8 kB / 1.172 GB, free: 11.45 MB / 1.026 GB Notification: Performance of SimCode: time 1.563e-06/0.6871, allocations: 0 / 1.172 GB, free: 11.45 MB / 1.026 GB Notification: Performance of Templates: time 0.01941/0.7065, allocations: 20.15 MB / 1.191 GB, free: 4.285 MB / 1.026 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.901637832634151]