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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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=5000,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=5000,variableFilter="time|assFue.assMes.u|assFue.mFue_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.77/2.77, allocations: 436.5 MB / 0.7104 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00053/0.00053, allocations: 12 kB / 0.8708 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.768/0.7685, allocations: 153.6 MB / 1.021 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.002679/0.7713, allocations: 1.893 MB / 1.023 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002117/0.7734, allocations: 1.305 MB / 1.024 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.7736, allocations: 3.938 kB / 1.024 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005388/0.7741, allocations: 179.3 kB / 1.024 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002962/0.7744, allocations: 111.7 kB / 1.024 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003917/0.7748, allocations: 130.7 kB / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002715/0.7751, allocations: 171.6 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.7753, allocations: 48.62 kB / 1.025 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.7754, allocations: 99.56 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.7756, allocations: 95.55 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.7756, allocations: 7.984 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.7757, allocations: 43.84 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.339e-05/0.7758, allocations: 79.73 kB / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.034e-05/0.7759, allocations: 85.45 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002782/0.7762, allocations: 293.3 kB / 1.025 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.7762, allocations: 0 / 1.025 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7762, allocations: 4 kB / 1.025 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.7762, allocations: 0 / 1.025 GB, free: 12.54 MB / 0.7794 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.0008915/0.7771, allocations: 0.6492 MB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.7771, allocations: 15.98 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.799e-05/0.7772, allocations: 43.44 kB / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005227/0.7778, allocations: 387 kB / 1.026 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.7778, allocations: 11.94 kB / 1.026 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/0.7778, allocations: 11.95 kB / 1.026 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.778, allocations: 96.39 kB / 1.026 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.778, allocations: 0 / 1.026 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.7781, allocations: 4 kB / 1.026 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.7781, allocations: 0 / 1.026 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.7782, allocations: 51.97 kB / 1.026 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000736/0.7789, allocations: 0.4887 MB / 1.027 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003371/0.7793, allocations: 110.7 kB / 1.027 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.7793, allocations: 0 / 1.027 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001899/0.7795, allocations: 87.31 kB / 1.027 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 3.587e-06/0.7795, allocations: 3.984 kB / 1.027 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0003562/0.7799, allocations: 177 kB / 1.027 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.78, allocations: 55.41 kB / 1.027 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005007/0.7805, allocations: 0.5027 MB / 1.028 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.7805, allocations: 25.7 kB / 1.028 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/0.7807, allocations: 224.1 kB / 1.028 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.7807, allocations: 31.78 kB / 1.028 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.159e-05/0.7807, allocations: 0 / 1.028 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.7809, allocations: 362.7 kB / 1.028 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.781, allocations: 48.36 kB / 1.028 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.7811, allocations: 80.42 kB / 1.029 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.7812, allocations: 53.81 kB / 1.029 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.7812, allocations: 0 / 1.029 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003133/0.7816, allocations: 209 kB / 1.029 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.7816, allocations: 4 kB / 1.029 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.7816, allocations: 0 / 1.029 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.7816, allocations: 4 kB / 1.029 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.7818, allocations: 48.34 kB / 1.029 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.7818, allocations: 0 / 1.029 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.7819, allocations: 23.89 kB / 1.029 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.782, allocations: 7.984 kB / 1.029 GB, free: 8.543 MB / 0.7794 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 ($whenCondition1,$PRE.mFue_flow.tab.nextTimeEvent,$PRE.assFue.hys.y,assFue.hys.y,mFue_flow.tab.nextTimeEvent,$PRE.mFue_flow.tab.nextTimeEventScaled,mFue_flow.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001727/0.7822, allocations: 191 kB / 1.029 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-05/0.7822, allocations: 43.44 kB / 1.029 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.388e-05/0.7823, allocations: 51.91 kB / 1.029 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.7823, allocations: 4 kB / 1.029 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.7823, allocations: 0 / 1.029 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.7823, allocations: 0 / 1.029 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.7826, allocations: 321.4 kB / 1.029 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.7826, allocations: 3.984 kB / 1.029 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.357e-05/0.7827, allocations: 8 kB / 1.03 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.7827, allocations: 0 / 1.03 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.7827, allocations: 8 kB / 1.03 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.7827, allocations: 0 / 1.03 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.7827, allocations: 0 / 1.03 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003317/0.783, allocations: 220.4 kB / 1.03 GB, free: 7.633 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.055e-05/0.7831, allocations: 108.6 kB / 1.03 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.409e-05/0.7832, allocations: 11.98 kB / 1.03 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.689e-05/0.7833, allocations: 4 kB / 1.03 GB, free: 7.492 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.102e-05/0.7833, allocations: 15.98 kB / 1.03 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.7834, allocations: 3.984 kB / 1.03 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003304/0.7837, allocations: 350.8 kB / 1.03 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7837, allocations: 4.062 kB / 1.03 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002659/0.784, allocations: 47.94 kB / 1.03 GB, free: 7.082 MB / 0.7794 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 (mFue_flow.tab.nextTimeEventScaled,assFue.hys.y,mFue_flow.tab.nextTimeEvent) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009532/0.7849, allocations: 425.9 kB / 1.031 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000248/0.7852, allocations: 107.9 kB / 1.031 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.7852, allocations: 0 / 1.031 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.969e-05/0.7853, allocations: 39.92 kB / 1.031 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.7856, allocations: 69.12 kB / 1.031 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.7867, allocations: 0.7633 MB / 1.032 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/0.7871, allocations: 0.8419 MB / 1.032 GB, free: 4.949 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001078/0.7872, allocations: 37.88 kB / 1.032 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.294e-05/0.7872, allocations: 35.36 kB / 1.032 GB, free: 4.879 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.7872, allocations: 0 / 1.032 GB, free: 4.879 MB / 0.7794 GB Notification: Performance of Templates: time 0.006692/0.7939, allocations: 2.804 MB / 1.035 GB, free: 2.102 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches