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.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.000933/0.000933, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.0009676/0.0009676, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 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 0.9545/0.9545, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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 2.389/2.389, allocations: 438.8 MB / 0.6827 GB, free: 13.58 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.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 1.623e-06/1.623e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.515e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.002941/0.002966, allocations: 2.293 MB / 0.8408 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001934/0.0049, allocations: 1.571 MB / 0.8424 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.005037, allocations: 7.938 kB / 0.8424 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004827/0.00552, allocations: 191.4 kB / 0.8426 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003555/0.005876, allocations: 179 kB / 0.8427 GB, free: 9.922 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.00612, allocations: 135.5 kB / 0.8429 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002727/0.006393, allocations: 290.9 kB / 0.8431 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.006508, allocations: 34.88 kB / 0.8432 GB, free: 9.473 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005581/0.007066, allocations: 242.4 kB / 0.8434 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.007173, allocations: 71.73 kB / 0.8435 GB, free: 9.184 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.007199, allocations: 12 kB / 0.8435 GB, free: 9.172 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.007302, allocations: 55.91 kB / 0.8435 GB, free: 9.117 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.115e-05/0.007383, allocations: 95.61 kB / 0.8436 GB, free: 9.023 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.264e-05/0.007446, allocations: 63.67 kB / 0.8437 GB, free: 8.961 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003226/0.007768, allocations: 266.8 kB / 0.8439 GB, free: 8.699 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.007772, allocations: 0 / 0.8439 GB, free: 8.699 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.353e-06/0.007773, allocations: 0 / 0.8439 GB, free: 8.699 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.007778, allocations: 0 / 0.8439 GB, free: 8.699 MB / 0.8073 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.0005963/0.008375, allocations: 0.6187 MB / 0.8446 GB, free: 8.055 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.008406, allocations: 15.97 kB / 0.8446 GB, free: 8.039 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.195e-05/0.008458, allocations: 36.89 kB / 0.8446 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/0.008735, allocations: 313.8 kB / 0.8449 GB, free: 7.672 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.008752, allocations: 12.38 kB / 0.8449 GB, free: 7.66 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.008775, allocations: 12.36 kB / 0.8449 GB, free: 7.648 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.008923, allocations: 107.4 kB / 0.845 GB, free: 7.527 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.008931, allocations: 7.938 kB / 0.845 GB, free: 7.52 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.00894, allocations: 0 / 0.845 GB, free: 7.52 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.008944, allocations: 0 / 0.845 GB, free: 7.52 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.185e-05/0.008995, allocations: 31.86 kB / 0.8451 GB, free: 7.488 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003499/0.009345, allocations: 249.7 kB / 0.8453 GB, free: 7.227 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.009453, allocations: 105.2 kB / 0.8454 GB, free: 7.113 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.475e-05/0.009478, allocations: 20.84 kB / 0.8454 GB, free: 7.09 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.009495, allocations: 8 kB / 0.8454 GB, free: 7.082 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.892e-05/0.009594, allocations: 95.89 kB / 0.8455 GB, free: 6.969 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 1.943e-06/0.009596, allocations: 0 / 0.8455 GB, free: 6.969 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0001426/0.009739, allocations: 93.58 kB / 0.8456 GB, free: 6.871 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.009764, allocations: 55.41 kB / 0.8457 GB, free: 6.805 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.01, allocations: 415.2 kB / 0.8461 GB, free: 6.387 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.01002, allocations: 29.7 kB / 0.8461 GB, free: 6.352 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.622e-05/0.01009, allocations: 149.4 kB / 0.8462 GB, free: 6.203 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.01011, allocations: 35.73 kB / 0.8463 GB, free: 6.168 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.149e-05/0.01016, allocations: 57.59 kB / 0.8463 GB, free: 6.105 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.054e-05/0.01025, allocations: 362.6 kB / 0.8467 GB, free: 5.742 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.981e-05/0.01028, allocations: 18.83 kB / 0.8467 GB, free: 5.723 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.196e-05/0.01034, allocations: 72.23 kB / 0.8468 GB, free: 5.637 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.258e-05/0.0104, allocations: 62.77 kB / 0.8468 GB, free: 5.57 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.0104, allocations: 0 / 0.8468 GB, free: 5.57 MB / 0.8073 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001182/0.01052, allocations: 120.3 kB / 0.8469 GB, free: 5.445 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.01053, allocations: 4.062 kB / 0.8469 GB, free: 5.441 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.01054, allocations: 4 kB / 0.8469 GB, free: 5.438 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.01055, allocations: 4 kB / 0.8469 GB, free: 5.434 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.01065, allocations: 39.91 kB / 0.847 GB, free: 5.395 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.01065, allocations: 3.938 kB / 0.847 GB, free: 5.391 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.641e-05/0.01071, allocations: 15.89 kB / 0.847 GB, free: 5.375 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.01073, allocations: 8 kB / 0.847 GB, free: 5.367 MB / 0.8073 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 8.841e-05/0.01082, allocations: 120.7 kB / 0.8471 GB, free: 5.238 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.01084, allocations: 27.97 kB / 0.8471 GB, free: 5.211 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001342/0.01097, allocations: 114 kB / 0.8473 GB, free: 5.094 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.01098, allocations: 0 / 0.8473 GB, free: 5.094 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.01098, allocations: 3.938 kB / 0.8473 GB, free: 5.09 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.01098, allocations: 0 / 0.8473 GB, free: 5.09 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.01111, allocations: 157.7 kB / 0.8474 GB, free: 4.918 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.01112, allocations: 4 kB / 0.8474 GB, free: 4.914 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.444e-05/0.01116, allocations: 11.94 kB / 0.8474 GB, free: 4.902 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.01116, allocations: 0 / 0.8474 GB, free: 4.902 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.01117, allocations: 0 / 0.8474 GB, free: 4.902 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.01117, allocations: 7.922 kB / 0.8474 GB, free: 4.895 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01117, allocations: 0 / 0.8474 GB, free: 4.895 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001375/0.01131, allocations: 134.7 kB / 0.8476 GB, free: 4.742 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.47e-05/0.01135, allocations: 47.59 kB / 0.8476 GB, free: 4.695 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.01137, allocations: 11.92 kB / 0.8476 GB, free: 4.684 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.008e-05/0.01141, allocations: 4 kB / 0.8476 GB, free: 4.68 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.689e-05/0.01145, allocations: 19.97 kB / 0.8476 GB, free: 4.66 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.01145, allocations: 4 kB / 0.8476 GB, free: 4.656 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001268/0.01158, allocations: 184.4 kB / 0.8478 GB, free: 4.477 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01158, allocations: 0 / 0.8478 GB, free: 4.477 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001544/0.01174, allocations: 43.94 kB / 0.8479 GB, free: 4.434 MB / 0.8073 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.00109/0.01283, allocations: 0.5149 MB / 0.8484 GB, free: 4.148 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001109/0.01294, allocations: 66.64 kB / 0.8484 GB, free: 4.082 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.01294, allocations: 4 kB / 0.8484 GB, free: 4.078 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.744e-05/0.01298, allocations: 28.78 kB / 0.8485 GB, free: 4.047 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001844/0.01316, allocations: 69.94 kB / 0.8485 GB, free: 3.984 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000772/0.01394, allocations: 0.6221 MB / 0.8491 GB, free: 3.332 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.785e-05/0.014, allocations: 120.3 kB / 0.8492 GB, free: 3.195 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.969e-05/0.01407, allocations: 29.92 kB / 0.8493 GB, free: 3.164 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.01418, allocations: 107.3 kB / 0.8494 GB, free: 3.059 MB / 0.8073 GB Notification: Performance of SimCode: time 7.31e-07/0.01418, allocations: 0 / 0.8494 GB, free: 3.059 MB / 0.8073 GB Notification: Performance of Templates: time 0.005902/0.02009, allocations: 3.383 MB / 0.8527 GB, free: 15.73 MB / 0.823 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.458799853920937]