Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.001333/0.001333, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.001451/0.001451, allocations: 210.3 kB / 23 MB, free: 4.934 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.422/1.422, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.241/3.241, allocations: 0.49 GB / 0.7959 GB, free: 35.38 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.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") [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.001973/0.001973, allocations: 64.97 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3427, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1904/0.533, allocations: 147.8 MB / 1.471 GB, free: 12.59 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.008518/0.5416, allocations: 6.014 MB / 1.477 GB, free: 6.562 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004547/0.542, allocations: 19.81 kB / 1.477 GB, free: 6.543 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006818/0.5427, allocations: 178.7 kB / 1.478 GB, free: 6.367 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002299/0.545, allocations: 0.8324 MB / 1.478 GB, free: 5.531 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009714/0.546, allocations: 346.6 kB / 1.479 GB, free: 5.195 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0008885/0.5469, allocations: 0.7252 MB / 1.479 GB, free: 4.469 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004031/0.5473, allocations: 223.2 kB / 1.48 GB, free: 4.246 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001512/0.5488, allocations: 0.724 MB / 1.48 GB, free: 3.52 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004092/0.5492, allocations: 275 kB / 1.481 GB, free: 3.25 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.817e-05/0.5492, allocations: 24 kB / 1.481 GB, free: 3.227 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000558/0.5498, allocations: 291.3 kB / 1.481 GB, free: 2.941 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.5499, allocations: 115.6 kB / 1.481 GB, free: 2.828 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001671/0.5501, allocations: 135.3 kB / 1.481 GB, free: 2.695 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0006523/0.5507, allocations: 470.2 kB / 1.482 GB, free: 2.234 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.5508, allocations: 0 / 1.482 GB, free: 2.234 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.873e-06/0.5508, allocations: 0 / 1.482 GB, free: 2.234 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.5508, allocations: 0 / 1.482 GB, free: 2.234 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009255/0.5517, allocations: 0.5571 MB / 1.482 GB, free: 1.648 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.5517, allocations: 8.031 kB / 1.482 GB, free: 1.641 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003075/0.552, allocations: 63.72 kB / 1.482 GB, free: 1.578 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005097/0.5525, allocations: 255.6 kB / 1.482 GB, free: 1.297 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.5526, allocations: 20.66 kB / 1.482 GB, free: 1.277 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.5526, allocations: 24 kB / 1.482 GB, free: 1.254 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005841/0.5532, allocations: 324.9 kB / 1.483 GB, free: 0.9102 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.5532, allocations: 3.984 kB / 1.483 GB, free: 0.9062 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.649e-05/0.5532, allocations: 12 kB / 1.483 GB, free: 0.8945 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.5532, allocations: 8 kB / 1.483 GB, free: 0.8867 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004344/0.5537, allocations: 205.5 kB / 1.483 GB, free: 0.6875 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/0.5551, allocations: 1.125 MB / 1.484 GB, free: 15.5 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.5554, allocations: 114.5 kB / 1.484 GB, free: 15.38 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.5556, allocations: 88.73 kB / 1.484 GB, free: 15.29 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004937/0.556, allocations: 71.92 kB / 1.484 GB, free: 15.22 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.5561, allocations: 38.56 kB / 1.484 GB, free: 15.18 MB / 1.186 GB Notification: Performance of pre-optimization done (n=13): time 1.432e-06/0.5561, allocations: 0 / 1.484 GB, free: 15.18 MB / 1.186 GB Notification: Performance of matching and sorting (n=13): time 0.0007638/0.5568, allocations: 268.6 kB / 1.485 GB, free: 14.91 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.5569, allocations: 55.41 kB / 1.485 GB, free: 14.84 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.5571, allocations: 225.9 kB / 1.485 GB, free: 14.62 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.5571, allocations: 29.7 kB / 1.485 GB, free: 14.58 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.5573, allocations: 200.1 kB / 1.485 GB, free: 14.38 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.227e-05/0.5573, allocations: 43.58 kB / 1.485 GB, free: 14.34 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.144e-05/0.5574, allocations: 41.7 kB / 1.485 GB, free: 14.29 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.5576, allocations: 326.8 kB / 1.485 GB, free: 13.96 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.5577, allocations: 59.95 kB / 1.486 GB, free: 13.91 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002514/0.558, allocations: 186.2 kB / 1.486 GB, free: 13.69 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000351/0.5583, allocations: 188.8 kB / 1.486 GB, free: 13.48 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.5583, allocations: 0 / 1.486 GB, free: 13.48 MB / 1.186 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004236/0.5588, allocations: 213.4 kB / 1.486 GB, free: 13.27 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.5588, allocations: 8 kB / 1.486 GB, free: 13.26 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.5588, allocations: 0 / 1.486 GB, free: 13.26 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.5588, allocations: 8 kB / 1.486 GB, free: 13.25 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.559, allocations: 31.97 kB / 1.486 GB, free: 13.22 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.559, allocations: 4 kB / 1.486 GB, free: 13.22 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.5591, allocations: 19.94 kB / 1.486 GB, free: 13.2 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.5592, allocations: 7.938 kB / 1.486 GB, free: 13.19 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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 prepare postOptimizeDAE: time 0.0001681/0.5593, allocations: 153.8 kB / 1.486 GB, free: 13.03 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.89e-05/0.5594, allocations: 31.8 kB / 1.486 GB, free: 13 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004393/0.5598, allocations: 203.3 kB / 1.487 GB, free: 12.8 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.5598, allocations: 0 / 1.487 GB, free: 12.8 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.5598, allocations: 3.984 kB / 1.487 GB, free: 12.79 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 8.403e-05/0.5599, allocations: 35.88 kB / 1.487 GB, free: 12.76 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.94e-05/0.5599, allocations: 4 kB / 1.487 GB, free: 12.75 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.5601, allocations: 4 kB / 1.487 GB, free: 12.75 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.01e-05/0.5601, allocations: 7.984 kB / 1.487 GB, free: 12.74 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004574/0.5606, allocations: 268.8 kB / 1.487 GB, free: 12.47 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004496/0.561, allocations: 362.5 kB / 1.487 GB, free: 12.1 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001594/0.5612, allocations: 63.83 kB / 1.487 GB, free: 12.04 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0001448/0.5613, allocations: 165.2 kB / 1.487 GB, free: 11.88 MB / 1.186 GB Notification: Performance of Backend: time 1.6e-07/0.5613, allocations: 0 / 1.487 GB, free: 11.88 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0007819/0.5621, allocations: 236.1 kB / 1.488 GB, free: 11.64 MB / 1.186 GB Notification: Performance of SimCode: time 0.001234/0.5633, allocations: 0.9679 MB / 1.489 GB, free: 10.63 MB / 1.186 GB Notification: Performance of Templates: time 0.009816/0.5731, allocations: 4.893 MB / 1.493 GB, free: 5.828 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.916482062995783]