Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001884/0.001884, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002348/0.002348, allocations: 191.5 kB / 22.23 MB, free: 5.102 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.415/3.415, allocations: 496 MB / 0.7835 GB, free: 33.42 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_12_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_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 68.3 kB / 1.138 GB, free: 33.74 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4751/0.4771, allocations: 173.6 MB / 1.307 GB, free: 1.801 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.005322/0.4825, allocations: 2.298 MB / 1.31 GB, free: 15.49 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.003182/0.4856, allocations: 1.471 MB / 1.311 GB, free: 14.02 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0003459/0.486, allocations: 7.938 kB / 1.311 GB, free: 14.01 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0008745/0.4869, allocations: 187.3 kB / 1.311 GB, free: 13.82 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0006162/0.4875, allocations: 131.3 kB / 1.311 GB, free: 13.7 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006123/0.4881, allocations: 167.6 kB / 1.311 GB, free: 13.53 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0004891/0.4886, allocations: 275 kB / 1.312 GB, free: 13.26 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.4887, allocations: 36.91 kB / 1.312 GB, free: 13.22 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002134/0.4889, allocations: 119.5 kB / 1.312 GB, free: 13.11 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/0.4891, allocations: 115.4 kB / 1.312 GB, free: 12.99 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 4.127e-05/0.4892, allocations: 16 kB / 1.312 GB, free: 12.98 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.4893, allocations: 47.98 kB / 1.312 GB, free: 12.93 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.4895, allocations: 103.6 kB / 1.312 GB, free: 12.83 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001659/0.4896, allocations: 154.8 kB / 1.312 GB, free: 12.68 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0005715/0.4902, allocations: 398.1 kB / 1.313 GB, free: 12.29 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.4902, allocations: 8 kB / 1.313 GB, free: 12.28 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.423e-06/0.4902, allocations: 0 / 1.313 GB, free: 12.28 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 7.244e-06/0.4902, allocations: 0 / 1.313 GB, free: 12.28 MB / 1.014 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.001217/0.4914, allocations: 0.6397 MB / 1.313 GB, free: 11.61 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.4915, allocations: 12.03 kB / 1.313 GB, free: 11.59 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.4916, allocations: 48.61 kB / 1.313 GB, free: 11.55 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006058/0.4922, allocations: 349.4 kB / 1.314 GB, free: 11.18 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.4922, allocations: 16.34 kB / 1.314 GB, free: 11.17 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.889e-05/0.4923, allocations: 15.94 kB / 1.314 GB, free: 11.15 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002276/0.4925, allocations: 95.22 kB / 1.314 GB, free: 11.05 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.4925, allocations: 3.938 kB / 1.314 GB, free: 11.05 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.4925, allocations: 7.938 kB / 1.314 GB, free: 11.04 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.4925, allocations: 4 kB / 1.314 GB, free: 11.04 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.4927, allocations: 47.97 kB / 1.314 GB, free: 10.99 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008739/0.4935, allocations: 467.5 kB / 1.314 GB, free: 10.49 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003907/0.4939, allocations: 102.7 kB / 1.314 GB, free: 10.38 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 8.225e-05/0.494, allocations: 32.84 kB / 1.314 GB, free: 10.35 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.494, allocations: 4 kB / 1.314 GB, free: 10.34 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002354/0.4943, allocations: 91.31 kB / 1.315 GB, free: 10.24 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.4943, allocations: 0 / 1.315 GB, free: 10.24 MB / 1.014 GB
Notification: Performance of matching and sorting (n=9): time 0.0005705/0.4948, allocations: 181.2 kB / 1.315 GB, free: 10.06 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.836e-05/0.4949, allocations: 59.39 kB / 1.315 GB, free: 9.988 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006321/0.4955, allocations: 0.4911 MB / 1.315 GB, free: 9.484 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.4956, allocations: 29.7 kB / 1.315 GB, free: 9.449 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0002706/0.4958, allocations: 231.7 kB / 1.315 GB, free: 9.219 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 4.002e-05/0.4959, allocations: 27.92 kB / 1.316 GB, free: 9.191 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.644e-05/0.496, allocations: 49.66 kB / 1.316 GB, free: 9.137 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0002561/0.4962, allocations: 362.8 kB / 1.316 GB, free: 8.773 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.4963, allocations: 47.98 kB / 1.316 GB, free: 8.727 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.4965, allocations: 77.17 kB / 1.316 GB, free: 8.645 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.4967, allocations: 107.9 kB / 1.316 GB, free: 8.535 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4967, allocations: 0 / 1.316 GB, free: 8.535 MB / 1.014 GB
Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003891/0.4971, allocations: 209.2 kB / 1.316 GB, free: 8.324 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.4971, allocations: 4 kB / 1.316 GB, free: 8.32 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.4971, allocations: 0 / 1.316 GB, free: 8.32 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.4971, allocations: 3.938 kB / 1.316 GB, free: 8.316 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.4973, allocations: 39.98 kB / 1.316 GB, free: 8.277 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.4973, allocations: 384 / 1.316 GB, free: 8.277 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.4975, allocations: 23.95 kB / 1.316 GB, free: 8.254 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.033e-05/0.4975, allocations: 8 kB / 1.316 GB, free: 8.246 MB / 1.014 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.0004141/0.4979, allocations: 193.6 kB / 1.317 GB, free: 8.047 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.406e-05/0.498, allocations: 55.59 kB / 1.317 GB, free: 7.992 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003782/0.4983, allocations: 153.5 kB / 1.317 GB, free: 7.828 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.4984, allocations: 0 / 1.317 GB, free: 7.828 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.4984, allocations: 0 / 1.317 GB, free: 7.828 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.4984, allocations: 7.984 kB / 1.317 GB, free: 7.82 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003589/0.4987, allocations: 288.5 kB / 1.317 GB, free: 7.496 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-06/0.4987, allocations: 3.938 kB / 1.317 GB, free: 7.492 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.93e-05/0.4988, allocations: 15.98 kB / 1.317 GB, free: 7.477 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.4988, allocations: 0 / 1.317 GB, free: 7.477 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.4988, allocations: 4 kB / 1.317 GB, free: 7.473 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4988, allocations: 0 / 1.317 GB, free: 7.473 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4988, allocations: 0 / 1.317 GB, free: 7.473 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004306/0.4992, allocations: 220.6 kB / 1.317 GB, free: 7.238 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.972e-05/0.4993, allocations: 43.81 kB / 1.317 GB, free: 7.195 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.652e-05/0.4994, allocations: 0 / 1.317 GB, free: 7.195 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.794e-05/0.4994, allocations: 7.984 kB / 1.317 GB, free: 7.188 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.979e-05/0.4995, allocations: 11.98 kB / 1.317 GB, free: 7.176 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.4995, allocations: 4 kB / 1.317 GB, free: 7.172 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0004389/0.5, allocations: 354.8 kB / 1.318 GB, free: 6.828 MB / 1.014 GB
Notification: Performance of sort global known variables: time 1e-07/0.5, allocations: 3.938 kB / 1.318 GB, free: 6.824 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002867/0.5002, allocations: 55.88 kB / 1.318 GB, free: 6.77 MB / 1.014 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 (9):
 * Single equations (assignments): 7
 * 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.001703/0.502, allocations: 425 kB / 1.318 GB, free: 6.504 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0003039/0.5023, allocations: 105.3 kB / 1.318 GB, free: 6.402 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5023, allocations: 3.938 kB / 1.318 GB, free: 6.398 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 9.832e-05/0.5024, allocations: 39.92 kB / 1.318 GB, free: 6.359 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004738/0.5028, allocations: 70.97 kB / 1.318 GB, free: 6.293 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.5042, allocations: 0.6982 MB / 1.319 GB, free: 5.574 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005619/0.5048, allocations: 0.826 MB / 1.32 GB, free: 4.723 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 0.000124/0.5049, allocations: 33.94 kB / 1.32 GB, free: 4.684 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.078e-05/0.505, allocations: 27.44 kB / 1.32 GB, free: 4.66 MB / 1.014 GB
Notification: Performance of SimCode: time 3e-07/0.505, allocations: 0 / 1.32 GB, free: 4.66 MB / 1.014 GB
Notification: Performance of Templates: time 0.0105/0.5155, allocations: 3.142 MB / 1.323 GB, free: 1.547 MB / 1.014 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.290280571207404]