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.001803/0.001803, allocations: 104.3 kB / 19.7 MB, free: 2.004 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.001671/0.001671, allocations: 208.5 kB / 22.98 MB, free: 4.406 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.532/1.532, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.315/3.315, allocations: 0.49 GB / 0.7959 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 176] 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.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: 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.00212/0.00212, allocations: 65.5 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3388, allocations: 176.1 MB / 1.327 GB, free: 1.059 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007481/0.3463, allocations: 4.664 MB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1716/0.5179, allocations: 132.7 MB / 1.461 GB, free: 7.141 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008149/0.5187, allocations: 23.81 kB / 1.461 GB, free: 7.117 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0005682/0.5193, allocations: 210.1 kB / 1.461 GB, free: 6.91 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001609/0.5209, allocations: 0.5739 MB / 1.462 GB, free: 6.336 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001898/0.5228, allocations: 0.8772 MB / 1.463 GB, free: 5.465 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001505/0.5243, allocations: 1.463 MB / 1.464 GB, free: 3.996 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007622/0.525, allocations: 468.6 kB / 1.465 GB, free: 3.512 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006482/0.5257, allocations: 0.5372 MB / 1.465 GB, free: 2.973 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000633/0.5263, allocations: 0.5562 MB / 1.466 GB, free: 2.414 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.000175/0.5265, allocations: 132 kB / 1.466 GB, free: 2.285 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009125/0.5274, allocations: 0.5074 MB / 1.466 GB, free: 1.777 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003086/0.5277, allocations: 323 kB / 1.467 GB, free: 1.461 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004845/0.5282, allocations: 0.4976 MB / 1.467 GB, free: 0.9609 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001994/0.5302, allocations: 1.79 MB / 1.469 GB, free: 15.16 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.5302, allocations: 0 / 1.469 GB, free: 15.16 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5302, allocations: 0 / 1.469 GB, free: 15.16 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.544e-05/0.5302, allocations: 4 kB / 1.469 GB, free: 15.16 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002696/0.5329, allocations: 1.481 MB / 1.47 GB, free: 13.64 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.5329, allocations: 12.02 kB / 1.47 GB, free: 13.62 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001922/0.5349, allocations: 275.9 kB / 1.471 GB, free: 13.36 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/0.5362, allocations: 0.7415 MB / 1.471 GB, free: 12.59 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.42e-05/0.5363, allocations: 70 kB / 1.471 GB, free: 12.52 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.5364, allocations: 92 kB / 1.472 GB, free: 12.43 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001924/0.5383, allocations: 1.258 MB / 1.473 GB, free: 11.07 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.5384, allocations: 4 kB / 1.473 GB, free: 11.07 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.567e-05/0.5385, allocations: 40 kB / 1.473 GB, free: 11.03 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/0.5385, allocations: 20 kB / 1.473 GB, free: 11.01 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001976/0.5404, allocations: 1.132 MB / 1.474 GB, free: 9.875 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004017/0.5445, allocations: 2.177 MB / 1.476 GB, free: 7.648 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002451/0.5469, allocations: 0.8584 MB / 1.477 GB, free: 6.781 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006061/0.5475, allocations: 282.7 kB / 1.477 GB, free: 6.5 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.928e-05/0.5476, allocations: 28.62 kB / 1.477 GB, free: 6.473 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001016/0.5486, allocations: 0.6042 MB / 1.478 GB, free: 5.828 MB / 1.17 GB Notification: Performance of pre-optimization done (n=82): time 2.605e-06/0.5486, allocations: 0 / 1.478 GB, free: 5.828 MB / 1.17 GB Notification: Performance of matching and sorting (n=82): time 0.003522/0.5521, allocations: 1.15 MB / 1.479 GB, free: 4.668 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/0.5523, allocations: 192.6 kB / 1.479 GB, free: 4.438 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008005/0.5531, allocations: 0.6017 MB / 1.48 GB, free: 3.828 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.403e-05/0.5531, allocations: 41.7 kB / 1.48 GB, free: 3.781 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003755/0.5535, allocations: 440.9 kB / 1.48 GB, free: 3.344 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002483/0.5538, allocations: 281.6 kB / 1.48 GB, free: 3.066 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002718/0.554, allocations: 162.6 kB / 1.481 GB, free: 2.902 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002005/0.5542, allocations: 386.8 kB / 1.481 GB, free: 2.516 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005966/0.5548, allocations: 277.8 kB / 1.481 GB, free: 2.242 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007821/0.5556, allocations: 499.6 kB / 1.482 GB, free: 1.711 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/0.5569, allocations: 0.6307 MB / 1.482 GB, free: 1.07 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.5569, allocations: 0 / 1.482 GB, free: 1.07 MB / 1.17 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002191/0.5591, allocations: 0.8687 MB / 1.483 GB, free: 192 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.5591, allocations: 7.938 kB / 1.483 GB, free: 184 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.5591, allocations: 0 / 1.483 GB, free: 184 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007031/0.5598, allocations: 88.8 kB / 1.483 GB, free: 92 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000779/0.5606, allocations: 163.8 kB / 1.483 GB, free: 15.93 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002328/0.5629, allocations: 1.5 MB / 1.485 GB, free: 14.32 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008211/0.5637, allocations: 95.62 kB / 1.485 GB, free: 14.23 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.778e-05/0.5638, allocations: 31.98 kB / 1.485 GB, free: 14.2 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (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,$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 (96): * Single equations (assignments): 95 * 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.0004784/0.5643, allocations: 286.2 kB / 1.485 GB, free: 13.91 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/0.5645, allocations: 83.48 kB / 1.485 GB, free: 13.83 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002615/0.5671, allocations: 1.093 MB / 1.486 GB, free: 12.72 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.5671, allocations: 11.94 kB / 1.486 GB, free: 12.71 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.5671, allocations: 0 / 1.486 GB, free: 12.71 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.5671, allocations: 11.91 kB / 1.486 GB, free: 12.7 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003402/0.5705, allocations: 1.736 MB / 1.488 GB, free: 10.92 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.5705, allocations: 3.938 kB / 1.488 GB, free: 10.92 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006649/0.5712, allocations: 147.8 kB / 1.488 GB, free: 10.77 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004751/0.5716, allocations: 72.78 kB / 1.488 GB, free: 10.7 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.479e-05/0.5717, allocations: 27.98 kB / 1.488 GB, free: 10.67 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002017/0.5737, allocations: 1.532 MB / 1.49 GB, free: 9.031 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5737, allocations: 0 / 1.49 GB, free: 9.031 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002218/0.5759, allocations: 1.018 MB / 1.491 GB, free: 7.992 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004199/0.5764, allocations: 195.1 kB / 1.491 GB, free: 7.801 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.5765, allocations: 20 kB / 1.491 GB, free: 7.781 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007161/0.5772, allocations: 73.33 kB / 1.491 GB, free: 7.711 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/0.5774, allocations: 76.8 kB / 1.491 GB, free: 7.637 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.572e-05/0.5774, allocations: 35.97 kB / 1.491 GB, free: 7.602 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0005513/0.578, allocations: 439 kB / 1.492 GB, free: 7.18 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.578, allocations: 0 / 1.492 GB, free: 7.18 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009417/0.5789, allocations: 351 kB / 1.492 GB, free: 6.836 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002056/0.581, allocations: 0.648 MB / 1.493 GB, free: 6.391 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00177/0.5828, allocations: 0.8196 MB / 1.493 GB, free: 5.559 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.5828, allocations: 7.938 kB / 1.493 GB, free: 5.551 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009965/0.5838, allocations: 0.5002 MB / 1.494 GB, free: 5.039 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.5849, allocations: 291.6 kB / 1.494 GB, free: 4.773 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003118/0.588, allocations: 1.761 MB / 1.496 GB, free: 2.984 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004802/0.5885, allocations: 465.4 kB / 1.496 GB, free: 2.5 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0007667/0.5893, allocations: 266.4 kB / 1.497 GB, free: 2.234 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002811/0.5896, allocations: 111.4 kB / 1.497 GB, free: 2.125 MB / 1.186 GB Notification: Performance of SimCode: time 3.7e-07/0.5896, allocations: 0 / 1.497 GB, free: 2.125 MB / 1.186 GB Notification: Performance of Templates: time 0.02816/0.6177, allocations: 16.87 MB / 1.513 GB, free: 1.527 MB / 1.201 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 -s cvode -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/jenkins1/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: 10.080734773000586]