Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.001483/0.001483, allocations: 99.64 kB / 18.95 MB, free: 2.836 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.001857/0.001857, allocations: 214.5 kB / 22.24 MB, free: 5.102 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.542/1.542, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.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 3.442/3.442, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [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.002132/0.002132, allocations: 66.09 kB / 1.186 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4239/0.426, allocations: 181.9 MB / 1.364 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003838/0.4299, allocations: 2.097 MB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.006074/0.4359, allocations: 3.927 MB / 1.37 GB, free: 7.512 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001536/0.4361, allocations: 7.938 kB / 1.37 GB, free: 7.504 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0009422/0.437, allocations: 175.1 kB / 1.37 GB, free: 7.332 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000189/0.4372, allocations: 79.28 kB / 1.37 GB, free: 7.254 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009156/0.4381, allocations: 339.2 kB / 1.37 GB, free: 6.922 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0007809/0.4389, allocations: 454.6 kB / 1.371 GB, free: 6.477 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.4391, allocations: 36.91 kB / 1.371 GB, free: 6.441 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002107/0.4393, allocations: 139.5 kB / 1.371 GB, free: 6.305 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000244/0.4395, allocations: 151.3 kB / 1.371 GB, free: 6.156 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.098e-05/0.4396, allocations: 24 kB / 1.371 GB, free: 6.133 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006764/0.4402, allocations: 331.5 kB / 1.371 GB, free: 5.809 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.4404, allocations: 115.6 kB / 1.372 GB, free: 5.695 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001754/0.4406, allocations: 139.2 kB / 1.372 GB, free: 5.559 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008253/0.4414, allocations: 0.5837 MB / 1.372 GB, free: 4.973 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4414, allocations: 4 kB / 1.372 GB, free: 4.969 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.445e-06/0.4414, allocations: 0 / 1.372 GB, free: 4.969 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.346e-05/0.4414, allocations: 0 / 1.372 GB, free: 4.969 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001624/0.443, allocations: 0.747 MB / 1.373 GB, free: 4.184 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.4431, allocations: 12.03 kB / 1.373 GB, free: 4.172 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002036/0.4451, allocations: 316.3 kB / 1.373 GB, free: 3.863 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.4463, allocations: 348.7 kB / 1.374 GB, free: 3.5 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.4463, allocations: 8.562 kB / 1.374 GB, free: 3.492 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.645e-05/0.4464, allocations: 15.94 kB / 1.374 GB, free: 3.477 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007978/0.4472, allocations: 261.4 kB / 1.374 GB, free: 3.215 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.4472, allocations: 0 / 1.374 GB, free: 3.215 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.17e-05/0.4472, allocations: 4 kB / 1.374 GB, free: 3.211 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.4472, allocations: 7.938 kB / 1.374 GB, free: 3.203 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.4483, allocations: 347.6 kB / 1.374 GB, free: 2.863 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001568/0.4499, allocations: 0.6131 MB / 1.375 GB, free: 2.219 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006264/0.4505, allocations: 222.3 kB / 1.375 GB, free: 1.992 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005565/0.4511, allocations: 180.7 kB / 1.375 GB, free: 1.812 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.877e-05/0.4511, allocations: 23.98 kB / 1.375 GB, free: 1.789 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.4512, allocations: 30.56 kB / 1.375 GB, free: 1.75 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.833e-06/0.4512, allocations: 0 / 1.375 GB, free: 1.75 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.001889/0.453, allocations: 0.5945 MB / 1.376 GB, free: 1.152 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.4531, allocations: 51.41 kB / 1.376 GB, free: 1.09 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005261/0.4536, allocations: 449.9 kB / 1.376 GB, free: 0.6406 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.424e-05/0.4537, allocations: 25.7 kB / 1.376 GB, free: 0.6094 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.4538, allocations: 204.4 kB / 1.377 GB, free: 416 kB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.452e-05/0.4539, allocations: 39.64 kB / 1.377 GB, free: 376 kB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.454, allocations: 53.69 kB / 1.377 GB, free: 316 kB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002048/0.4542, allocations: 362.7 kB / 1.377 GB, free: 15.95 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007275/0.4549, allocations: 345.7 kB / 1.377 GB, free: 15.6 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008113/0.4557, allocations: 353.9 kB / 1.378 GB, free: 15.25 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/0.457, allocations: 0.5226 MB / 1.378 GB, free: 14.72 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.457, allocations: 0 / 1.378 GB, free: 14.72 MB / 1.076 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001688/0.4587, allocations: 0.783 MB / 1.379 GB, free: 13.92 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.929e-05/0.4588, allocations: 41.69 kB / 1.379 GB, free: 13.87 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.4588, allocations: 3.984 kB / 1.379 GB, free: 13.87 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.4588, allocations: 0 / 1.379 GB, free: 13.87 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005215/0.4593, allocations: 79.84 kB / 1.379 GB, free: 13.79 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.4593, allocations: 0 / 1.379 GB, free: 13.79 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004107/0.4598, allocations: 59.72 kB / 1.379 GB, free: 13.73 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.08e-05/0.4598, allocations: 8 kB / 1.379 GB, free: 13.72 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002157/0.46, allocations: 162.8 kB / 1.379 GB, free: 13.55 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.054e-05/0.4601, allocations: 43.75 kB / 1.379 GB, free: 13.51 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001404/0.4615, allocations: 472.7 kB / 1.38 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.4615, allocations: 0 / 1.38 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.4615, allocations: 4 kB / 1.38 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.4615, allocations: 0 / 1.38 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004304/0.4619, allocations: 296.9 kB / 1.38 GB, free: 12.72 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.4619, allocations: 0 / 1.38 GB, free: 12.72 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004418/0.4624, allocations: 55.92 kB / 1.38 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.4624, allocations: 0 / 1.38 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.376e-05/0.4624, allocations: 7.984 kB / 1.38 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.4624, allocations: 0 / 1.38 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.4624, allocations: 7.938 kB / 1.38 GB, free: 12.65 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001402/0.4638, allocations: 0.5224 MB / 1.381 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001797/0.464, allocations: 67.61 kB / 1.381 GB, free: 12.04 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.929e-05/0.4641, allocations: 4 kB / 1.381 GB, free: 12.04 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003883/0.4644, allocations: 39.89 kB / 1.381 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.638e-05/0.4645, allocations: 15.97 kB / 1.381 GB, free: 11.98 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/0.4646, allocations: 11.98 kB / 1.381 GB, free: 11.97 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004211/0.465, allocations: 311.1 kB / 1.381 GB, free: 11.67 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/0.465, allocations: 0 / 1.381 GB, free: 11.67 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005733/0.4656, allocations: 123.9 kB / 1.381 GB, free: 11.55 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004115/0.466, allocations: 167 kB / 1.381 GB, free: 11.38 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00163/0.4676, allocations: 0.6412 MB / 1.382 GB, free: 10.72 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4676, allocations: 0 / 1.382 GB, free: 10.72 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006131/0.4682, allocations: 195.8 kB / 1.382 GB, free: 10.53 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005254/0.4687, allocations: 62.48 kB / 1.382 GB, free: 10.47 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.4703, allocations: 0.7142 MB / 1.383 GB, free: 9.723 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.4705, allocations: 199.4 kB / 1.383 GB, free: 9.508 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003012/0.4708, allocations: 65.91 kB / 1.383 GB, free: 9.445 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.4709, allocations: 31.42 kB / 1.383 GB, free: 9.414 MB / 1.076 GB Notification: Performance of SimCode: time 4.51e-07/0.4709, allocations: 3.938 kB / 1.383 GB, free: 9.41 MB / 1.076 GB Notification: Performance of Templates: time 0.01286/0.4838, allocations: 6.289 MB / 1.389 GB, free: 3.207 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.672914654016495]