Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001807/0.001807, allocations: 81.42 kB / 19.18 MB, free: 2.527 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.002288/0.002288, allocations: 168.3 kB / 22.46 MB, free: 5.359 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.467/1.467, allocations: 177.1 MB / 202.8 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.829/2.829, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_12_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_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.852e-05/3.064e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006946/0.006977, allocations: 4.653 MB / 0.9859 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1922/0.1992, allocations: 132.8 MB / 1.116 GB, free: 1.98 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001196/0.2003, allocations: 23.81 kB / 1.116 GB, free: 1.957 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.2014, allocations: 218 kB / 1.116 GB, free: 1.742 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003396/0.2048, allocations: 0.5939 MB / 1.116 GB, free: 1.148 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00402/0.2088, allocations: 0.8881 MB / 1.117 GB, free: 272 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003132/0.2119, allocations: 1.529 MB / 1.119 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001367/0.2133, allocations: 452.5 kB / 1.119 GB, free: 14.26 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001943/0.2152, allocations: 0.8069 MB / 1.12 GB, free: 13.45 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.2163, allocations: 434.8 kB / 1.12 GB, free: 13.02 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003148/0.2166, allocations: 135.9 kB / 1.121 GB, free: 12.89 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001763/0.2184, allocations: 0.5071 MB / 1.121 GB, free: 12.38 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0005633/0.2189, allocations: 342.9 kB / 1.121 GB, free: 12.05 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0008319/0.2198, allocations: 430.9 kB / 1.122 GB, free: 11.62 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003144/0.2229, allocations: 1.912 MB / 1.124 GB, free: 9.707 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2229, allocations: 0 / 1.124 GB, free: 9.707 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2229, allocations: 0 / 1.124 GB, free: 9.707 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.524e-05/0.2229, allocations: 4 kB / 1.124 GB, free: 9.703 MB / 1.076 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.00289/0.2258, allocations: 1.505 MB / 1.125 GB, free: 8.164 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.2259, allocations: 8.031 kB / 1.125 GB, free: 8.156 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002017/0.2279, allocations: 275.9 kB / 1.125 GB, free: 7.887 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001383/0.2293, allocations: 0.7453 MB / 1.126 GB, free: 7.117 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.212e-05/0.2293, allocations: 82.12 kB / 1.126 GB, free: 7.035 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/0.2295, allocations: 100 kB / 1.126 GB, free: 6.938 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002093/0.2316, allocations: 1.278 MB / 1.128 GB, free: 5.562 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.2316, allocations: 0 / 1.128 GB, free: 5.562 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.2317, allocations: 43.98 kB / 1.128 GB, free: 5.52 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.43e-05/0.2317, allocations: 24 kB / 1.128 GB, free: 5.496 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002178/0.2339, allocations: 1.136 MB / 1.129 GB, free: 4.359 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00482/0.2387, allocations: 2.294 MB / 1.131 GB, free: 2.016 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002677/0.2414, allocations: 0.8975 MB / 1.132 GB, free: 1.121 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006587/0.2421, allocations: 319.7 kB / 1.132 GB, free: 0.8047 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.73e-05/0.2421, allocations: 24.97 kB / 1.132 GB, free: 0.7812 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001128/0.2433, allocations: 0.6322 MB / 1.133 GB, free: 108 kB / 1.076 GB Notification: Performance of pre-optimization done (n=90): time 2.915e-06/0.2433, allocations: 0 / 1.133 GB, free: 108 kB / 1.076 GB Notification: Performance of matching and sorting (n=90): time 0.4922/0.7355, allocations: 1.199 MB / 1.134 GB, free: 195 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.724e-05/0.7355, allocations: 203 kB / 1.134 GB, free: 194.8 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006702/0.7362, allocations: 0.6016 MB / 1.135 GB, free: 194.6 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.841e-05/0.7363, allocations: 51.39 kB / 1.135 GB, free: 194.5 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002663/0.7366, allocations: 434 kB / 1.135 GB, free: 194.3 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/0.7367, allocations: 302.9 kB / 1.135 GB, free: 194.1 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000226/0.7369, allocations: 188.5 kB / 1.136 GB, free: 194 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.764e-05/0.737, allocations: 390.6 kB / 1.136 GB, free: 193.7 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005529/0.7376, allocations: 302.4 kB / 1.136 GB, free: 193.6 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006618/0.7382, allocations: 0.5241 MB / 1.137 GB, free: 193.2 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.7394, allocations: 0.6631 MB / 1.137 GB, free: 192.9 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.7394, allocations: 0 / 1.137 GB, free: 192.9 MB / 1.076 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002087/0.7415, allocations: 0.944 MB / 1.138 GB, free: 192.6 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.7415, allocations: 5.719 kB / 1.138 GB, free: 192.6 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.7415, allocations: 0.9062 kB / 1.138 GB, free: 192.6 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006104/0.7421, allocations: 85.12 kB / 1.138 GB, free: 192.6 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007091/0.7428, allocations: 178.7 kB / 1.139 GB, free: 192.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001759/0.7446, allocations: 1.497 MB / 1.14 GB, free: 191.2 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000872/0.7454, allocations: 93.22 kB / 1.14 GB, free: 191.2 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.254e-05/0.7455, allocations: 39.92 kB / 1.14 GB, free: 191.1 MB / 1.076 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.0004739/0.746, allocations: 289.8 kB / 1.141 GB, free: 190.9 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/0.7462, allocations: 94.2 kB / 1.141 GB, free: 190.9 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002353/0.7485, allocations: 1.122 MB / 1.142 GB, free: 190.5 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.7486, allocations: 11.31 kB / 1.142 GB, free: 190.5 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.7486, allocations: 0 / 1.142 GB, free: 190.5 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.7486, allocations: 9.75 kB / 1.142 GB, free: 190.5 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00356/0.7521, allocations: 1.965 MB / 1.144 GB, free: 189.6 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.7521, allocations: 0 / 1.144 GB, free: 189.6 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006065/0.7527, allocations: 154.3 kB / 1.144 GB, free: 189.6 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004362/0.7532, allocations: 79.28 kB / 1.144 GB, free: 189.5 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-05/0.7532, allocations: 29.28 kB / 1.144 GB, free: 189.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001554/0.7548, allocations: 1.523 MB / 1.145 GB, free: 188.2 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.7548, allocations: 0 / 1.145 GB, free: 188.2 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001981/0.7568, allocations: 1.065 MB / 1.146 GB, free: 187.7 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004377/0.7572, allocations: 196.9 kB / 1.147 GB, free: 187.6 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/0.7574, allocations: 36.03 kB / 1.147 GB, free: 187.6 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006747/0.758, allocations: 67.17 kB / 1.147 GB, free: 187.6 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/0.7582, allocations: 74.3 kB / 1.147 GB, free: 187.5 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.43e-05/0.7583, allocations: 37.7 kB / 1.147 GB, free: 187.5 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005105/0.7588, allocations: 439 kB / 1.147 GB, free: 187.3 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.7588, allocations: 0 / 1.147 GB, free: 187.3 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009844/0.7597, allocations: 362.1 kB / 1.148 GB, free: 187.3 MB / 1.076 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 (102): * Single equations (assignments): 91 * 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.002035/0.7618, allocations: 0.6612 MB / 1.148 GB, free: 187.1 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001862/0.7636, allocations: 0.868 MB / 1.149 GB, free: 186.7 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.7636, allocations: 0 / 1.149 GB, free: 186.7 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009265/0.7646, allocations: 0.5259 MB / 1.15 GB, free: 186.5 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/0.7659, allocations: 286.8 kB / 1.15 GB, free: 186.4 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003035/0.769, allocations: 1.79 MB / 1.152 GB, free: 185.5 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/0.7694, allocations: 470.8 kB / 1.152 GB, free: 185.3 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0008404/0.7702, allocations: 280.6 kB / 1.152 GB, free: 185.2 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002853/0.7705, allocations: 120.3 kB / 1.152 GB, free: 185.2 MB / 1.076 GB Notification: Performance of SimCode: time 1.292e-06/0.7705, allocations: 0 / 1.152 GB, free: 185.2 MB / 1.076 GB Notification: Performance of Templates: time 0.02761/0.7981, allocations: 15.96 MB / 1.168 GB, free: 183.3 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.547471195459366]