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.001889/0.001889, allocations: 79.36 kB / 19.18 MB, free: 2.52 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.002237/0.002237, allocations: 166.5 kB / 22.46 MB, free: 5.375 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.561/1.561, allocations: 177.2 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] 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 2.95/2.95, allocations: 389 MB / 0.633 GB, free: 1 MB / 0.5919 GB " [Timeout remaining time 176] 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.683e-06/1.683e-06, allocations: 0 / 1 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.38e-05/3.549e-05, allocations: 2.281 kB / 1 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007359/0.007394, allocations: 4.647 MB / 1.005 GB, free: 2.625 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.8105/0.8179, allocations: 132.8 MB / 1.134 GB, free: 45.16 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009794/0.8189, allocations: 21.59 kB / 1.134 GB, free: 45.16 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006102/0.8195, allocations: 215.5 kB / 1.135 GB, free: 45.16 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001897/0.8214, allocations: 0.5957 MB / 1.135 GB, free: 45.16 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002125/0.8235, allocations: 0.8832 MB / 1.136 GB, free: 45.16 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001559/0.8251, allocations: 1.538 MB / 1.137 GB, free: 45.16 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000687/0.8258, allocations: 448.7 kB / 1.138 GB, free: 45.1 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.8268, allocations: 0.7992 MB / 1.139 GB, free: 45.1 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005673/0.8274, allocations: 443 kB / 1.139 GB, free: 45.1 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001672/0.8276, allocations: 139.5 kB / 1.139 GB, free: 45.1 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009623/0.8285, allocations: 0.5014 MB / 1.14 GB, free: 45.09 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002503/0.8288, allocations: 339.4 kB / 1.14 GB, free: 45.09 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000411/0.8292, allocations: 430.1 kB / 1.14 GB, free: 45.09 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00194/0.8311, allocations: 1.913 MB / 1.142 GB, free: 44.97 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.8311, allocations: 0.8438 kB / 1.142 GB, free: 44.97 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.372e-06/0.8311, allocations: 1.203 kB / 1.142 GB, free: 44.97 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.571e-05/0.8312, allocations: 0.75 kB / 1.142 GB, free: 44.97 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.002372/0.8335, allocations: 1.5 MB / 1.144 GB, free: 44.22 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.8336, allocations: 8.562 kB / 1.144 GB, free: 44.22 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001927/0.8355, allocations: 282 kB / 1.144 GB, free: 44.15 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.8366, allocations: 0.7375 MB / 1.145 GB, free: 43.9 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.89e-05/0.8367, allocations: 77.06 kB / 1.145 GB, free: 43.89 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.8368, allocations: 100.6 kB / 1.145 GB, free: 43.89 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/0.8385, allocations: 1.284 MB / 1.146 GB, free: 43.44 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/0.8385, allocations: 2.438 kB / 1.146 GB, free: 43.44 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.359e-05/0.8386, allocations: 42.59 kB / 1.146 GB, free: 43.44 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.8386, allocations: 24.94 kB / 1.146 GB, free: 43.44 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001691/0.8403, allocations: 1.135 MB / 1.147 GB, free: 43.43 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003924/0.8442, allocations: 2.3 MB / 1.15 GB, free: 42.79 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002338/0.8465, allocations: 0.8978 MB / 1.151 GB, free: 42.75 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005559/0.8471, allocations: 306.9 kB / 1.151 GB, free: 42.75 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.577e-05/0.8472, allocations: 27.16 kB / 1.151 GB, free: 42.75 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001037/0.8482, allocations: 0.6299 MB / 1.151 GB, free: 42.54 MB / 1.076 GB Notification: Performance of pre-optimization done (n=90): time 2.875e-06/0.8482, allocations: 3.922 kB / 1.151 GB, free: 42.54 MB / 1.076 GB Notification: Performance of matching and sorting (n=90): time 0.003501/0.8517, allocations: 1.206 MB / 1.153 GB, free: 42.43 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.695e-05/0.8518, allocations: 202.1 kB / 1.153 GB, free: 42.2 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007001/0.8525, allocations: 0.6009 MB / 1.153 GB, free: 42.07 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.73e-05/0.8526, allocations: 48.33 kB / 1.153 GB, free: 42.04 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002756/0.8529, allocations: 443.2 kB / 1.154 GB, free: 41.82 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/0.853, allocations: 296.5 kB / 1.154 GB, free: 41.63 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002444/0.8533, allocations: 186.2 kB / 1.154 GB, free: 41.61 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.306e-05/0.8534, allocations: 386.4 kB / 1.155 GB, free: 41.29 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00057/0.854, allocations: 302 kB / 1.155 GB, free: 41.29 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006837/0.8546, allocations: 0.5249 MB / 1.156 GB, free: 41.09 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.8558, allocations: 0.6677 MB / 1.156 GB, free: 41.04 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.8558, allocations: 5.812 kB / 1.156 GB, free: 41.03 MB / 1.076 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002066/0.8579, allocations: 0.939 MB / 1.157 GB, free: 40.92 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.8579, allocations: 6.75 kB / 1.157 GB, free: 40.92 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.8579, allocations: 4.062 kB / 1.157 GB, free: 40.92 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006352/0.8585, allocations: 84.56 kB / 1.157 GB, free: 40.91 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007226/0.8593, allocations: 176.4 kB / 1.157 GB, free: 40.91 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001991/0.8612, allocations: 1.497 MB / 1.159 GB, free: 39.7 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000904/0.8621, allocations: 104.5 kB / 1.159 GB, free: 39.66 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-05/0.8622, allocations: 38.64 kB / 1.159 GB, free: 39.66 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.0005208/0.8627, allocations: 289.2 kB / 1.159 GB, free: 39.55 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/0.8629, allocations: 85.19 kB / 1.159 GB, free: 39.5 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002365/0.8653, allocations: 1.122 MB / 1.16 GB, free: 39.39 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.8653, allocations: 8.25 kB / 1.16 GB, free: 39.39 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.8653, allocations: 4.75 kB / 1.16 GB, free: 39.39 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.8653, allocations: 7.5 kB / 1.16 GB, free: 39.39 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003363/0.8687, allocations: 1.956 MB / 1.162 GB, free: 39.02 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.8687, allocations: 3 kB / 1.162 GB, free: 39.02 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006124/0.8693, allocations: 150.2 kB / 1.162 GB, free: 39.02 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004394/0.8697, allocations: 78.59 kB / 1.163 GB, free: 39.01 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.477e-05/0.8698, allocations: 25.77 kB / 1.163 GB, free: 39.01 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001611/0.8714, allocations: 1.524 MB / 1.164 GB, free: 37.79 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.8714, allocations: 0 / 1.164 GB, free: 37.79 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00214/0.8736, allocations: 1.053 MB / 1.165 GB, free: 37.57 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004296/0.874, allocations: 206.5 kB / 1.165 GB, free: 37.51 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/0.8741, allocations: 23.28 kB / 1.165 GB, free: 37.51 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007116/0.8749, allocations: 77.28 kB / 1.165 GB, free: 37.51 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.875, allocations: 76.58 kB / 1.165 GB, free: 37.51 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.605e-05/0.8751, allocations: 40.08 kB / 1.165 GB, free: 37.51 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000483/0.8756, allocations: 432.3 kB / 1.166 GB, free: 37.42 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8756, allocations: 0 / 1.166 GB, free: 37.42 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001056/0.8766, allocations: 358.2 kB / 1.166 GB, free: 37.35 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 (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.002248/0.8789, allocations: 0.668 MB / 1.167 GB, free: 37.15 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002227/0.8811, allocations: 0.8693 MB / 1.168 GB, free: 37.02 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.8811, allocations: 1.75 kB / 1.168 GB, free: 37.02 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009672/0.8821, allocations: 0.5085 MB / 1.168 GB, free: 36.9 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/0.8834, allocations: 292.3 kB / 1.169 GB, free: 36.87 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003174/0.8866, allocations: 1.775 MB / 1.17 GB, free: 36.18 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004578/0.8871, allocations: 474.1 kB / 1.171 GB, free: 36.06 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0008843/0.888, allocations: 266 kB / 1.171 GB, free: 36.02 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003245/0.8883, allocations: 116.9 kB / 1.171 GB, free: 36.01 MB / 1.076 GB Notification: Performance of SimCode: time 5.51e-07/0.8883, allocations: 0 / 1.171 GB, free: 36.01 MB / 1.076 GB Notification: Performance of Templates: time 0.03285/0.9211, allocations: 15.94 MB / 1.187 GB, free: 34.25 MB / 1.076 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: 9.928899116814137]