Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.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.001721/0.001721, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002051/0.002051, allocations: 211.9 kB / 22.25 MB, free: 5.262 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.642/1.642, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.95/2.95, allocations: 475.9 MB / 0.7699 GB, free: 4.773 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assFue.assMes.u|assFue.mFue_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assFue.assMes.u|assFue.mFue_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") [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.002158/0.002158, allocations: 68.28 kB / 1.117 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4486/0.4507, allocations: 169.9 MB / 1.283 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004676/0.4554, allocations: 2.228 MB / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002991/0.4584, allocations: 1.502 MB / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001755/0.4586, allocations: 0 / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006813/0.4593, allocations: 179.1 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005225/0.4598, allocations: 189.4 kB / 1.287 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003889/0.4602, allocations: 131.6 kB / 1.287 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004611/0.4606, allocations: 279.1 kB / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001786/0.4608, allocations: 36.89 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002077/0.461, allocations: 119.4 kB / 1.288 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000236/0.4613, allocations: 115.3 kB / 1.288 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.576e-05/0.4613, allocations: 16 kB / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.4615, allocations: 51.97 kB / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.4616, allocations: 107.7 kB / 1.288 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.4618, allocations: 107.1 kB / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006381/0.4624, allocations: 410 kB / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.4624, allocations: 0 / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.864e-06/0.4624, allocations: 0 / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.4624, allocations: 3.984 kB / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001201/0.4636, allocations: 0.663 MB / 1.289 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.4637, allocations: 8.031 kB / 1.289 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.4638, allocations: 52.61 kB / 1.289 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006403/0.4645, allocations: 353.3 kB / 1.289 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.4645, allocations: 8.375 kB / 1.289 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.409e-05/0.4645, allocations: 15.94 kB / 1.289 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002842/0.4648, allocations: 119.3 kB / 1.29 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.4648, allocations: 0 / 1.29 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.4648, allocations: 4 kB / 1.29 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.4648, allocations: 0 / 1.29 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001539/0.465, allocations: 55.97 kB / 1.29 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007989/0.4658, allocations: 420.1 kB / 1.29 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002628/0.4661, allocations: 90.7 kB / 1.29 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.4662, allocations: 28.84 kB / 1.29 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.821e-05/0.4662, allocations: 4 kB / 1.29 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002241/0.4664, allocations: 113 kB / 1.29 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.4664, allocations: 0 / 1.29 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0004403/0.4669, allocations: 177.3 kB / 1.29 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/0.4669, allocations: 55.34 kB / 1.29 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000632/0.4675, allocations: 0.5145 MB / 1.291 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.4676, allocations: 29.7 kB / 1.291 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000231/0.4678, allocations: 232.1 kB / 1.291 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.119e-05/0.4678, allocations: 27.75 kB / 1.291 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.268e-05/0.4679, allocations: 49.69 kB / 1.291 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002227/0.4682, allocations: 362.8 kB / 1.292 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.4683, allocations: 47.98 kB / 1.292 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.4685, allocations: 100.2 kB / 1.292 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003058/0.4688, allocations: 103.3 kB / 1.292 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4688, allocations: 7.969 kB / 1.292 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005615/0.4694, allocations: 209.2 kB / 1.292 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.4694, allocations: 4 kB / 1.292 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.4694, allocations: 384 / 1.292 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.4694, allocations: 4 kB / 1.292 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/0.4697, allocations: 39.92 kB / 1.292 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.4697, allocations: 4 kB / 1.292 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.4699, allocations: 19.88 kB / 1.292 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.841e-05/0.4699, allocations: 8 kB / 1.292 GB, free: 2.398 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.mFue_flow.tab.nextTimeEvent,$whenCondition1,mFue_flow.tab.nextTimeEventScaled,$PRE.mFue_flow.tab.nextTimeEventScaled,mFue_flow.tab.nextTimeEvent,assFue.hys.y,$PRE.assFue.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0003011/0.4702, allocations: 192.2 kB / 1.292 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.794e-05/0.4703, allocations: 51.64 kB / 1.292 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004681/0.4708, allocations: 161.6 kB / 1.292 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.4708, allocations: 0 / 1.292 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.4708, allocations: 3.984 kB / 1.292 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.4708, allocations: 0 / 1.292 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004049/0.4712, allocations: 257.1 kB / 1.293 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.4712, allocations: 3.984 kB / 1.293 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.297e-05/0.4713, allocations: 8 kB / 1.293 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.4713, allocations: 7.938 kB / 1.293 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.4713, allocations: 4 kB / 1.293 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.4713, allocations: 0 / 1.293 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4713, allocations: 4 kB / 1.293 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005897/0.4719, allocations: 220.7 kB / 1.293 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.835e-05/0.472, allocations: 39.69 kB / 1.293 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.441e-05/0.4721, allocations: 7.984 kB / 1.293 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.4722, allocations: 8 kB / 1.293 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.254e-05/0.4723, allocations: 11.97 kB / 1.293 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.4723, allocations: 4 kB / 1.293 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006338/0.473, allocations: 362.9 kB / 1.293 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.473, allocations: 0 / 1.293 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004918/0.4734, allocations: 55.88 kB / 1.293 GB, free: 0.9648 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assFue.floChaRat.x) * Number of discrete variables: 4 ($whenCondition1,assFue.hys.y,mFue_flow.tab.nextTimeEvent,mFue_flow.tab.nextTimeEventScaled) * Number of discrete states: 3 (assFue.hys.y,mFue_flow.tab.nextTimeEvent,mFue_flow.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002458/0.4759, allocations: 443.5 kB / 1.294 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004645/0.4764, allocations: 106.3 kB / 1.294 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.4764, allocations: 0 / 1.294 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.4765, allocations: 39.92 kB / 1.294 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006607/0.4772, allocations: 75.48 kB / 1.294 GB, free: 0.4961 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/0.479, allocations: 0.7035 MB / 1.295 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.4794, allocations: 220.8 kB / 1.295 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001756/0.4796, allocations: 41.91 kB / 1.295 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.4797, allocations: 31.42 kB / 1.295 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of SimCode: time 6.81e-07/0.4797, allocations: 0 / 1.295 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of Templates: time 0.01388/0.4936, allocations: 3.547 MB / 1.299 GB, free: 11.97 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.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.47436136752367]