Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.001135/0.001135, allocations: 99.7 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.001327/0.001327, allocations: 177.3 kB / 15.94 MB, free: 228 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.478/1.478, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.452/2.452, allocations: 390.3 MB / 0.6653 GB, free: 2.871 MB / 0.5138 GB Notification: Performance of FrontEnd - loaded program: time 0.0003993/0.0003993, allocations: 16 kB / 0.8145 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8247/0.8252, allocations: 142.3 MB / 0.9535 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.002286/0.8275, allocations: 1.882 MB / 0.9553 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00183/0.8293, allocations: 1.3 MB / 0.9566 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.8295, allocations: 6.438 kB / 0.9566 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005044/0.83, allocations: 170.4 kB / 0.9568 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002743/0.8303, allocations: 119 kB / 0.9569 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003412/0.8306, allocations: 127.9 kB / 0.957 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002562/0.8309, allocations: 174.9 kB / 0.9572 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.831, allocations: 47.36 kB / 0.9572 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.8312, allocations: 98.88 kB / 0.9573 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.8313, allocations: 97.55 kB / 0.9574 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.8314, allocations: 3.844 kB / 0.9574 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.8315, allocations: 33.62 kB / 0.9575 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.802e-05/0.8316, allocations: 91.45 kB / 0.9575 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.911e-05/0.8316, allocations: 78.61 kB / 0.9576 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003086/0.832, allocations: 297 kB / 0.9579 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.832, allocations: 0 / 0.9579 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.944e-06/0.832, allocations: 1.25 kB / 0.9579 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.832, allocations: 0 / 0.9579 GB, free: 4.824 MB / 0.7169 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.0008798/0.8329, allocations: 0.655 MB / 0.9585 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.8329, allocations: 13.56 kB / 0.9586 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.144e-05/0.833, allocations: 47.98 kB / 0.9586 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004586/0.8335, allocations: 400 kB / 0.959 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.8335, allocations: 3.156 kB / 0.959 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/0.8335, allocations: 10.16 kB / 0.959 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.8337, allocations: 92.25 kB / 0.9591 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.8338, allocations: 0 / 0.9591 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.8338, allocations: 9.375 kB / 0.9591 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.8338, allocations: 5.328 kB / 0.9591 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.8339, allocations: 50.09 kB / 0.9591 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006884/0.8346, allocations: 0.4905 MB / 0.9596 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003529/0.835, allocations: 108 kB / 0.9597 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.835, allocations: 1.375 kB / 0.9597 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001736/0.8352, allocations: 85.38 kB / 0.9598 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.8352, allocations: 0 / 0.9598 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0003598/0.8356, allocations: 177.4 kB / 0.96 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.8356, allocations: 52.75 kB / 0.96 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005363/0.8361, allocations: 0.4969 MB / 0.9605 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.8362, allocations: 27.89 kB / 0.9605 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.8363, allocations: 224.7 kB / 0.9608 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.8364, allocations: 32.69 kB / 0.9608 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.006e-05/0.8364, allocations: 1.031 kB / 0.9608 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.635e-05/0.8365, allocations: 364.2 kB / 0.9611 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.8366, allocations: 44.2 kB / 0.9612 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.8367, allocations: 83.73 kB / 0.9613 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.8368, allocations: 54.5 kB / 0.9613 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.8369, allocations: 0 / 0.9613 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000316/0.8372, allocations: 215.6 kB / 0.9615 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.8372, allocations: 5.188 kB / 0.9615 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.8372, allocations: 1.062 kB / 0.9615 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.8372, allocations: 1.312 kB / 0.9615 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.8374, allocations: 32.64 kB / 0.9616 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.8374, allocations: 5.906 kB / 0.9616 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.8375, allocations: 21.3 kB / 0.9616 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.8376, allocations: 11.28 kB / 0.9616 GB, free: 1.828 MB / 0.7169 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.0001703/0.8377, allocations: 189.6 kB / 0.9618 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.451e-05/0.8378, allocations: 47.95 kB / 0.9618 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.807e-05/0.8379, allocations: 47.72 kB / 0.9619 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.8379, allocations: 0.7188 kB / 0.9619 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.8379, allocations: 0.75 kB / 0.9619 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.8379, allocations: 0 / 0.9619 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.8382, allocations: 316.3 kB / 0.9622 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.8382, allocations: 1.188 kB / 0.9622 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.43e-05/0.8382, allocations: 10.95 kB / 0.9622 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.8382, allocations: 0 / 0.9622 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.8383, allocations: 14.05 kB / 0.9622 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.8383, allocations: 1.031 kB / 0.9622 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.8383, allocations: 0 / 0.9622 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003307/0.8386, allocations: 215.3 kB / 0.9624 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.888e-05/0.8387, allocations: 115 kB / 0.9625 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.178e-05/0.8387, allocations: 9.953 kB / 0.9625 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.834e-05/0.8388, allocations: 13.83 kB / 0.9625 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.8389, allocations: 13.89 kB / 0.9625 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.8389, allocations: 6.938 kB / 0.9625 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003192/0.8392, allocations: 351.9 kB / 0.9629 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8392, allocations: 0 / 0.9629 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002689/0.8395, allocations: 46.19 kB / 0.9629 GB, free: 0.7891 MB / 0.7169 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.0009382/0.8405, allocations: 425.2 kB / 0.9633 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002841/0.8408, allocations: 108.1 kB / 0.9634 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.8408, allocations: 1.281 kB / 0.9634 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.068e-05/0.8409, allocations: 41.92 kB / 0.9635 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.8412, allocations: 58.27 kB / 0.9635 GB, free: 500 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.8423, allocations: 0.7828 MB / 0.9643 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.8426, allocations: 0.8283 MB / 0.9651 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001208/0.8428, allocations: 37.8 kB / 0.9651 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.348e-05/0.8428, allocations: 26.52 kB / 0.9652 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.8428, allocations: 0 / 0.9652 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of Templates: time 0.007396/0.8502, allocations: 2.816 MB / 0.9679 GB, free: 13.76 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches