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.0009381/0.0009381, 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.001041/0.001041, allocations: 173 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.9953/0.9953, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.363/2.363, allocations: 438.8 MB / 0.6827 GB, free: 13.64 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.883e-06/1.883e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/2.571e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.009114/0.00914, allocations: 2.344 MB / 0.8409 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003624/0.01276, allocations: 1.564 MB / 0.8425 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.01291, allocations: 0 / 0.8425 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0005171/0.01342, allocations: 195.4 kB / 0.8426 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003687/0.01379, allocations: 179 kB / 0.8428 GB, free: 9.898 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002588/0.01405, allocations: 139.4 kB / 0.8429 GB, free: 9.762 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002734/0.01432, allocations: 279 kB / 0.8432 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.01447, allocations: 34.88 kB / 0.8432 GB, free: 9.457 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006202/0.01509, allocations: 235.7 kB / 0.8435 GB, free: 9.238 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.01521, allocations: 67.73 kB / 0.8435 GB, free: 9.172 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.01523, allocations: 12 kB / 0.8435 GB, free: 9.16 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.01536, allocations: 55.91 kB / 0.8436 GB, free: 9.105 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.233e-05/0.01545, allocations: 99.61 kB / 0.8437 GB, free: 9.008 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.589e-05/0.01551, allocations: 67.67 kB / 0.8438 GB, free: 8.941 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003302/0.01584, allocations: 266.8 kB / 0.844 GB, free: 8.68 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.01585, allocations: 0 / 0.844 GB, free: 8.68 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.473e-06/0.01585, allocations: 4 kB / 0.844 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.01585, allocations: 0 / 0.844 GB, free: 8.676 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.0005888/0.01644, allocations: 0.6186 MB / 0.8446 GB, free: 8.031 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.01648, allocations: 8.031 kB / 0.8446 GB, free: 8.023 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.159e-05/0.01653, allocations: 32.89 kB / 0.8447 GB, free: 7.992 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.01684, allocations: 325.8 kB / 0.845 GB, free: 7.648 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.01685, allocations: 4.375 kB / 0.845 GB, free: 7.645 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.01688, allocations: 8.375 kB / 0.845 GB, free: 7.637 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.01703, allocations: 113.7 kB / 0.8451 GB, free: 7.512 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.01704, allocations: 7.938 kB / 0.8451 GB, free: 7.504 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.01705, allocations: 7.984 kB / 0.8451 GB, free: 7.496 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.01706, allocations: 4 kB / 0.8451 GB, free: 7.492 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.44e-05/0.01711, allocations: 19.98 kB / 0.8451 GB, free: 7.473 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000377/0.01749, allocations: 253.7 kB / 0.8454 GB, free: 7.207 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.0176, allocations: 105.3 kB / 0.8455 GB, free: 7.094 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.176e-05/0.01762, allocations: 12.86 kB / 0.8455 GB, free: 7.078 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.01763, allocations: 8 kB / 0.8455 GB, free: 7.07 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001093/0.01774, allocations: 103.8 kB / 0.8456 GB, free: 6.949 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.01775, allocations: 0 / 0.8456 GB, free: 6.949 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0001358/0.01788, allocations: 89.58 kB / 0.8457 GB, free: 6.855 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.159e-05/0.0179, allocations: 51.41 kB / 0.8457 GB, free: 6.793 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/0.01815, allocations: 419.2 kB / 0.8461 GB, free: 6.371 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.01817, allocations: 33.7 kB / 0.8462 GB, free: 6.332 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.272e-05/0.01824, allocations: 153.4 kB / 0.8463 GB, free: 6.18 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.01827, allocations: 31.72 kB / 0.8463 GB, free: 6.148 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.344e-05/0.01832, allocations: 49.67 kB / 0.8464 GB, free: 6.094 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.01843, allocations: 370.6 kB / 0.8467 GB, free: 5.723 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.285e-05/0.01846, allocations: 18.81 kB / 0.8468 GB, free: 5.703 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.292e-05/0.01851, allocations: 70.31 kB / 0.8468 GB, free: 5.621 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.242e-05/0.01858, allocations: 68.28 kB / 0.8469 GB, free: 5.547 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01859, allocations: 0 / 0.8469 GB, free: 5.547 MB / 0.8073 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001312/0.01872, allocations: 127.1 kB / 0.847 GB, free: 5.418 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.01873, allocations: 4 kB / 0.847 GB, free: 5.414 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.01873, allocations: 0 / 0.847 GB, free: 5.414 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.01875, allocations: 0 / 0.847 GB, free: 5.414 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.01888, allocations: 36.05 kB / 0.847 GB, free: 5.379 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.01888, allocations: 3.938 kB / 0.847 GB, free: 5.375 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.743e-05/0.01894, allocations: 19.92 kB / 0.8471 GB, free: 5.355 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.01896, allocations: 4 kB / 0.8471 GB, free: 5.352 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.305e-05/0.01904, allocations: 127.5 kB / 0.8472 GB, free: 5.219 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/0.01907, allocations: 27.97 kB / 0.8472 GB, free: 5.191 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/0.01919, allocations: 110 kB / 0.8473 GB, free: 5.078 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.01919, allocations: 0 / 0.8473 GB, free: 5.078 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.0192, allocations: 3.938 kB / 0.8473 GB, free: 5.074 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.0192, allocations: 4 kB / 0.8473 GB, free: 5.07 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.01934, allocations: 157.7 kB / 0.8475 GB, free: 4.898 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.01934, allocations: 3.984 kB / 0.8475 GB, free: 4.895 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.535e-05/0.01939, allocations: 8 kB / 0.8475 GB, free: 4.887 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.01939, allocations: 0 / 0.8475 GB, free: 4.887 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.0194, allocations: 4 kB / 0.8475 GB, free: 4.883 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.0194, allocations: 8 kB / 0.8475 GB, free: 4.875 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.0194, allocations: 0 / 0.8475 GB, free: 4.875 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.01954, allocations: 138.6 kB / 0.8476 GB, free: 4.719 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.528e-05/0.01958, allocations: 39.61 kB / 0.8477 GB, free: 4.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.0196, allocations: 12.02 kB / 0.8477 GB, free: 4.668 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.174e-05/0.01964, allocations: 11.94 kB / 0.8477 GB, free: 4.656 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.273e-05/0.01967, allocations: 11.97 kB / 0.8477 GB, free: 4.645 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.01968, allocations: 0 / 0.8477 GB, free: 4.645 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001244/0.01981, allocations: 188.4 kB / 0.8479 GB, free: 4.461 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.61e-07/0.01981, allocations: 0 / 0.8479 GB, free: 4.461 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001532/0.01996, allocations: 47.92 kB / 0.8479 GB, free: 4.414 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.001124/0.02108, allocations: 0.5119 MB / 0.8484 GB, free: 4.129 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001135/0.0212, allocations: 64.77 kB / 0.8485 GB, free: 4.062 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.0212, allocations: 4 kB / 0.8485 GB, free: 4.059 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.821e-05/0.02124, allocations: 32.78 kB / 0.8485 GB, free: 4.023 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.02144, allocations: 66.44 kB / 0.8486 GB, free: 3.957 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007724/0.02222, allocations: 0.6182 MB / 0.8492 GB, free: 3.309 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.445e-05/0.02229, allocations: 120.2 kB / 0.8493 GB, free: 3.172 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.351e-05/0.02236, allocations: 33.92 kB / 0.8493 GB, free: 3.137 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.02247, allocations: 95.3 kB / 0.8494 GB, free: 3.043 MB / 0.8073 GB Notification: Performance of SimCode: time 8.71e-07/0.02248, allocations: 0 / 0.8494 GB, free: 3.043 MB / 0.8073 GB Notification: Performance of Templates: time 0.006323/0.0288, allocations: 3.405 MB / 0.8528 GB, free: 15.71 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 -s gbode -gbm=radauIIA3 -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.241770885884762]