Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002147/0.002147, allocations: 110.2 kB / 18.93 MB, free: 2.945 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.003125/0.003125, allocations: 192 kB / 22.23 MB, free: 5.16 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.591/1.591, 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-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.517/3.517, allocations: 0.4893 GB / 0.7884 GB, free: 33.15 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-master/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_latest_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_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 62.89 kB / 1.145 GB, free: 30.67 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4788/0.4808, allocations: 174.9 MB / 1.316 GB, free: 9.715 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.005248/0.4861, allocations: 2.306 MB / 1.318 GB, free: 7.398 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.002847/0.4889, allocations: 1.459 MB / 1.32 GB, free: 5.934 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002235/0.4891, allocations: 7.938 kB / 1.32 GB, free: 5.926 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0007573/0.4899, allocations: 199.2 kB / 1.32 GB, free: 5.73 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0005172/0.4904, allocations: 131.3 kB / 1.32 GB, free: 5.602 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000576/0.491, allocations: 167.5 kB / 1.32 GB, free: 5.438 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0005555/0.4915, allocations: 271 kB / 1.32 GB, free: 5.172 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001898/0.4917, allocations: 32.92 kB / 1.32 GB, free: 5.133 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002897/0.492, allocations: 119.5 kB / 1.321 GB, free: 5.016 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002448/0.4923, allocations: 123.3 kB / 1.321 GB, free: 4.895 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 5.772e-05/0.4923, allocations: 16 kB / 1.321 GB, free: 4.879 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001916/0.4925, allocations: 51.98 kB / 1.321 GB, free: 4.828 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.4927, allocations: 99.59 kB / 1.321 GB, free: 4.73 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002083/0.4929, allocations: 150.8 kB / 1.321 GB, free: 4.582 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0006972/0.4936, allocations: 398.1 kB / 1.321 GB, free: 4.191 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4936, allocations: 0 / 1.321 GB, free: 4.191 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.293e-06/0.4936, allocations: 0 / 1.321 GB, free: 4.191 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 1.611e-05/0.4936, allocations: 0 / 1.321 GB, free: 4.191 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.001496/0.4951, allocations: 0.6475 MB / 1.322 GB, free: 3.512 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.4951, allocations: 15.97 kB / 1.322 GB, free: 3.496 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.4953, allocations: 48.61 kB / 1.322 GB, free: 3.449 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006701/0.4959, allocations: 341.5 kB / 1.322 GB, free: 3.09 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.496, allocations: 12.31 kB / 1.322 GB, free: 3.078 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.263e-05/0.496, allocations: 19.92 kB / 1.322 GB, free: 3.059 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/0.4963, allocations: 97.58 kB / 1.323 GB, free: 2.957 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.4963, allocations: 0 / 1.323 GB, free: 2.957 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.4963, allocations: 0 / 1.323 GB, free: 2.957 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.4963, allocations: 4 kB / 1.323 GB, free: 2.953 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001445/0.4964, allocations: 47.97 kB / 1.323 GB, free: 2.906 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009036/0.4973, allocations: 467.5 kB / 1.323 GB, free: 2.406 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003843/0.4977, allocations: 106.7 kB / 1.323 GB, free: 2.293 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 8.802e-05/0.4978, allocations: 36.78 kB / 1.323 GB, free: 2.254 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.4978, allocations: 4 kB / 1.323 GB, free: 2.25 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001965/0.498, allocations: 79.38 kB / 1.323 GB, free: 2.16 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.498, allocations: 4 kB / 1.323 GB, free: 2.156 MB / 1.014 GB
Notification: Performance of matching and sorting (n=9): time 0.0004367/0.4985, allocations: 189.1 kB / 1.323 GB, free: 1.965 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.143e-05/0.4985, allocations: 55.39 kB / 1.323 GB, free: 1.898 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006121/0.4992, allocations: 0.4989 MB / 1.324 GB, free: 1.387 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.4992, allocations: 25.7 kB / 1.324 GB, free: 1.355 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.4994, allocations: 223.8 kB / 1.324 GB, free: 1.133 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 4.231e-05/0.4994, allocations: 35.92 kB / 1.324 GB, free: 1.098 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.53e-05/0.4995, allocations: 45.66 kB / 1.324 GB, free: 1.047 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0002033/0.4997, allocations: 366.8 kB / 1.325 GB, free: 0.6797 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.4998, allocations: 43.98 kB / 1.325 GB, free: 0.6367 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.5, allocations: 78.48 kB / 1.325 GB, free: 0.5508 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/0.5002, allocations: 103.2 kB / 1.325 GB, free: 456 kB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.5002, allocations: 0 / 1.325 GB, free: 456 kB / 1.014 GB
Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004013/0.5006, allocations: 222.9 kB / 1.325 GB, free: 228 kB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.5006, allocations: 4 kB / 1.325 GB, free: 224 kB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.5006, allocations: 0 / 1.325 GB, free: 224 kB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.5006, allocations: 4 kB / 1.325 GB, free: 220 kB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.5008, allocations: 35.92 kB / 1.325 GB, free: 184 kB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.5008, allocations: 0 / 1.325 GB, free: 184 kB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.501, allocations: 19.92 kB / 1.325 GB, free: 164 kB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.104e-05/0.501, allocations: 11.94 kB / 1.325 GB, free: 152 kB / 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.0002403/0.5012, allocations: 188.7 kB / 1.325 GB, free: 15.96 MB / 1.029 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.318e-05/0.5013, allocations: 47.67 kB / 1.325 GB, free: 15.91 MB / 1.029 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003421/0.5016, allocations: 161.5 kB / 1.326 GB, free: 15.74 MB / 1.029 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.5016, allocations: 0 / 1.326 GB, free: 15.74 MB / 1.029 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.5016, allocations: 4 kB / 1.326 GB, free: 15.73 MB / 1.029 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.5016, allocations: 3.984 kB / 1.326 GB, free: 15.73 MB / 1.029 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003249/0.502, allocations: 284.5 kB / 1.326 GB, free: 15.41 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.502, allocations: 4 kB / 1.326 GB, free: 15.41 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.294e-05/0.502, allocations: 4 kB / 1.326 GB, free: 15.4 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.191e-05/0.502, allocations: 11.98 kB / 1.326 GB, free: 15.39 MB / 1.029 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.5021, allocations: 0 / 1.326 GB, free: 15.39 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.5021, allocations: 480 / 1.326 GB, free: 15.39 MB / 1.029 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5021, allocations: 3.938 kB / 1.326 GB, free: 15.39 MB / 1.029 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004232/0.5025, allocations: 228.6 kB / 1.326 GB, free: 15.14 MB / 1.029 GB
Notification: Performance of postOpt removeConstants (simulation): time 8.041e-05/0.5026, allocations: 35.75 kB / 1.326 GB, free: 15.11 MB / 1.029 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.191e-05/0.5026, allocations: 4 kB / 1.326 GB, free: 15.11 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.619e-05/0.5027, allocations: 12.05 kB / 1.326 GB, free: 15.09 MB / 1.029 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.787e-05/0.5028, allocations: 7.984 kB / 1.326 GB, free: 15.09 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.5028, allocations: 8 kB / 1.326 GB, free: 15.08 MB / 1.029 GB
Notification: Performance of sorting global known variables: time 0.0004257/0.5032, allocations: 354.8 kB / 1.326 GB, free: 14.73 MB / 1.029 GB
Notification: Performance of sort global known variables: time 8e-08/0.5032, allocations: 0 / 1.326 GB, free: 14.73 MB / 1.029 GB
Notification: Performance of remove unused functions: time 0.0002928/0.5035, allocations: 51.88 kB / 1.326 GB, free: 14.68 MB / 1.029 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.001679/0.5052, allocations: 421.3 kB / 1.327 GB, free: 14.42 MB / 1.029 GB
Notification: Performance of simCode: created initialization part: time 0.0003331/0.5055, allocations: 107.9 kB / 1.327 GB, free: 14.31 MB / 1.029 GB
Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5055, allocations: 0 / 1.327 GB, free: 14.31 MB / 1.029 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.5056, allocations: 39.92 kB / 1.327 GB, free: 14.27 MB / 1.029 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004538/0.5061, allocations: 80.61 kB / 1.327 GB, free: 14.21 MB / 1.029 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.5074, allocations: 0.6995 MB / 1.328 GB, free: 13.48 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005044/0.5079, allocations: 0.826 MB / 1.329 GB, free: 12.63 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 0.0001277/0.508, allocations: 37.94 kB / 1.329 GB, free: 12.59 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.772e-05/0.5081, allocations: 23.44 kB / 1.329 GB, free: 12.57 MB / 1.029 GB
Notification: Performance of SimCode: time 4.11e-07/0.5081, allocations: 0 / 1.329 GB, free: 12.57 MB / 1.029 GB
Notification: Performance of Templates: time 0.008927/0.517, allocations: 3.154 MB / 1.332 GB, free: 9.445 MB / 1.029 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.166488287039101]