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.0009968/0.0009968, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009969/0.0009969, allocations: 165 kB / 23.02 MB, free: 1.551 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.9704/0.9704, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.057/2.057, allocations: 429.5 MB / 0.6732 GB, free: 4.031 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.272e-06/1.272e-06, allocations: 0 / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.776e-05/1.903e-05, allocations: 8.984 kB / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.002762/0.002781, allocations: 2.317 MB / 0.8804 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00202/0.004802, allocations: 1.564 MB / 0.882 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.004935, allocations: 7.938 kB / 0.882 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0005989/0.005534, allocations: 173.5 kB / 0.8821 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003869/0.005921, allocations: 193.3 kB / 0.8823 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.006154, allocations: 135.5 kB / 0.8825 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003136/0.006468, allocations: 282.9 kB / 0.8827 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.006618, allocations: 32.92 kB / 0.8828 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.006775, allocations: 152.3 kB / 0.8829 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.006925, allocations: 95.7 kB / 0.883 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.078e-05/0.006956, allocations: 16.59 kB / 0.883 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.007071, allocations: 53.14 kB / 0.8831 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.007172, allocations: 107.6 kB / 0.8832 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.087e-05/0.007253, allocations: 75.66 kB / 0.8832 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003472/0.0076, allocations: 276.2 kB / 0.8835 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.007602, allocations: 0 / 0.8835 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.32e-07/0.007603, allocations: 3.938 kB / 0.8835 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.007609, allocations: 0 / 0.8835 GB, free: 0.8398 MB / 0.8386 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.0008438/0.008452, allocations: 0.7708 MB / 0.8843 GB, free: 32 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.008495, allocations: 12.03 kB / 0.8843 GB, free: 20 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.547e-05/0.008591, allocations: 51.47 kB / 0.8843 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003906/0.008981, allocations: 347.5 kB / 0.8847 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.009002, allocations: 8.375 kB / 0.8847 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.009029, allocations: 4.375 kB / 0.8847 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.009199, allocations: 121.4 kB / 0.8848 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.009207, allocations: 3.984 kB / 0.8848 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.00922, allocations: 0 / 0.8848 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.009228, allocations: 8 kB / 0.8848 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.718e-05/0.009315, allocations: 27.92 kB / 0.8848 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005642/0.009879, allocations: 0.4916 MB / 0.8853 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.01002, allocations: 75.08 kB / 0.8854 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.12e-05/0.01006, allocations: 27.72 kB / 0.8854 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.01008, allocations: 0 / 0.8854 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001311/0.01021, allocations: 106.7 kB / 0.8855 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.01021, allocations: 4 kB / 0.8855 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9): time 0.0002638/0.01048, allocations: 145.3 kB / 0.8856 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.01051, allocations: 55.41 kB / 0.8857 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003803/0.01089, allocations: 0.5339 MB / 0.8862 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.01091, allocations: 33.7 kB / 0.8862 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.01107, allocations: 290.7 kB / 0.8865 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.868e-05/0.0111, allocations: 27.92 kB / 0.8865 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.327e-05/0.01116, allocations: 59.31 kB / 0.8866 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.01132, allocations: 0.5547 MB / 0.8871 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.952e-05/0.01137, allocations: 23.98 kB / 0.8872 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.579e-05/0.01145, allocations: 88.73 kB / 0.8873 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.387e-05/0.01154, allocations: 73.7 kB / 0.8873 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.01155, allocations: 4 kB / 0.8873 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001919/0.01174, allocations: 177.2 kB / 0.8875 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.01175, allocations: 4 kB / 0.8875 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.01176, allocations: 0 / 0.8875 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.01177, allocations: 7.984 kB / 0.8875 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.0119, allocations: 27.98 kB / 0.8875 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.01191, allocations: 4.062 kB / 0.8875 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.868e-05/0.01197, allocations: 15.94 kB / 0.8876 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/0.01199, allocations: 11.98 kB / 0.8876 GB, free: 12.43 MB / 0.8542 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 9.747e-05/0.01209, allocations: 171.5 kB / 0.8877 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.564e-05/0.01213, allocations: 51.67 kB / 0.8878 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002891/0.01241, allocations: 130.1 kB / 0.8879 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.01242, allocations: 3.984 kB / 0.8879 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.01242, allocations: 0 / 0.8879 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.01243, allocations: 3.938 kB / 0.8879 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/0.01264, allocations: 292.5 kB / 0.8882 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-06/0.01264, allocations: 4 kB / 0.8882 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.782e-05/0.01269, allocations: 15.98 kB / 0.8882 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.01269, allocations: 3.938 kB / 0.8882 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.0127, allocations: 0 / 0.8882 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.0127, allocations: 0 / 0.8882 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.0127, allocations: 0 / 0.8882 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.01291, allocations: 204 kB / 0.8884 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.684e-05/0.01295, allocations: 43.67 kB / 0.8884 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.01297, allocations: 3.984 kB / 0.8885 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.393e-05/0.01302, allocations: 8 kB / 0.8885 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.01306, allocations: 16 kB / 0.8885 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.375e-06/0.01307, allocations: 4 kB / 0.8885 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000212/0.01328, allocations: 334.7 kB / 0.8888 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01328, allocations: 0 / 0.8888 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001817/0.01346, allocations: 59.86 kB / 0.8889 GB, free: 11.04 MB / 0.8542 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.000808/0.01427, allocations: 396.4 kB / 0.8892 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001672/0.01444, allocations: 81.12 kB / 0.8893 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01444, allocations: 0 / 0.8893 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.917e-05/0.01449, allocations: 35.61 kB / 0.8893 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.01475, allocations: 82.48 kB / 0.8894 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008646/0.01561, allocations: 0.6209 MB / 0.89 GB, free: 9.934 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.485e-05/0.01569, allocations: 124.2 kB / 0.8901 GB, free: 9.793 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.482e-05/0.01575, allocations: 21.95 kB / 0.8902 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.214e-05/0.0158, allocations: 32.48 kB / 0.8902 GB, free: 9.742 MB / 0.8542 GB Notification: Performance of SimCode: time 5.11e-07/0.01581, allocations: 0 / 0.8902 GB, free: 9.742 MB / 0.8542 GB Notification: Performance of Templates: time 0.006184/0.02199, allocations: 3.176 MB / 0.8933 GB, free: 6.629 MB / 0.8542 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.588378807995468]