Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.002137/0.002137, allocations: 107.5 kB / 16.4 MB, free: 6.469 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.002407/0.002407, allocations: 189.2 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.621/1.621, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.711/2.711, allocations: 437.1 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 63.91 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9375/0.9394, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004068/0.9435, allocations: 2.27 MB / 1.17 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002484/0.9461, allocations: 1.444 MB / 1.171 GB, free: 88 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000154/0.9462, allocations: 4 kB / 1.171 GB, free: 84 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000648/0.9469, allocations: 183.1 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003932/0.9474, allocations: 139.3 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004642/0.9478, allocations: 160.7 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003561/0.9482, allocations: 274.9 kB / 1.172 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.9484, allocations: 52.72 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000186/0.9486, allocations: 115.5 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001681/0.9488, allocations: 107.5 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.426e-05/0.9488, allocations: 12 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.9489, allocations: 67.95 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.9491, allocations: 103.5 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.9492, allocations: 138.9 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004939/0.9497, allocations: 398.6 kB / 1.173 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.9497, allocations: 3.938 kB / 1.173 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.402e-06/0.9497, allocations: 0 / 1.173 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.9498, allocations: 4 kB / 1.173 GB, free: 14.36 MB / 0.9044 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.001093/0.9509, allocations: 0.7228 MB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.9509, allocations: 12.03 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.939e-05/0.951, allocations: 52.61 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005725/0.9516, allocations: 412.5 kB / 1.174 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.9516, allocations: 8.375 kB / 1.174 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.211e-05/0.9516, allocations: 7.938 kB / 1.174 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002243/0.9519, allocations: 97.64 kB / 1.174 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.9519, allocations: 0 / 1.174 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.9519, allocations: 0 / 1.174 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.9519, allocations: 4 kB / 1.174 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.9521, allocations: 51.97 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008433/0.9529, allocations: 496.4 kB / 1.174 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003883/0.9533, allocations: 114.7 kB / 1.175 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.757e-05/0.9534, allocations: 36.84 kB / 1.175 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.9534, allocations: 0 / 1.175 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001976/0.9536, allocations: 87.36 kB / 1.175 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.9537, allocations: 0 / 1.175 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0004253/0.9541, allocations: 181.5 kB / 1.175 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.9541, allocations: 59.41 kB / 1.175 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005789/0.9547, allocations: 0.4951 MB / 1.175 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.9548, allocations: 33.64 kB / 1.175 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.955, allocations: 220.1 kB / 1.176 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.867e-05/0.955, allocations: 35.72 kB / 1.176 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.345e-05/0.9551, allocations: 49.66 kB / 1.176 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.9553, allocations: 358.8 kB / 1.176 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.9554, allocations: 55.91 kB / 1.176 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.9556, allocations: 80.23 kB / 1.176 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/0.9558, allocations: 100.3 kB / 1.176 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.9558, allocations: 0 / 1.176 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003631/0.9562, allocations: 209.2 kB / 1.176 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.9562, allocations: 10.66 kB / 1.176 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.9562, allocations: 0 / 1.176 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.9562, allocations: 4.062 kB / 1.176 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.9564, allocations: 43.91 kB / 1.177 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/0.9564, allocations: 0 / 1.177 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.9566, allocations: 23.89 kB / 1.177 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.646e-05/0.9566, allocations: 4 kB / 1.177 GB, free: 10.11 MB / 0.9044 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 0.0002218/0.9568, allocations: 189.7 kB / 1.177 GB, free: 9.918 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.728e-05/0.9569, allocations: 51.67 kB / 1.177 GB, free: 9.867 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.718e-05/0.957, allocations: 47.91 kB / 1.177 GB, free: 9.82 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.957, allocations: 4 kB / 1.177 GB, free: 9.816 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.957, allocations: 0 / 1.177 GB, free: 9.816 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.957, allocations: 4 kB / 1.177 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003217/0.9573, allocations: 309.5 kB / 1.177 GB, free: 9.461 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.9573, allocations: 0 / 1.177 GB, free: 9.461 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.132e-05/0.9574, allocations: 15.92 kB / 1.177 GB, free: 9.445 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.9574, allocations: 0 / 1.177 GB, free: 9.445 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.9575, allocations: 8 kB / 1.177 GB, free: 9.438 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.9575, allocations: 0 / 1.177 GB, free: 9.438 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.9575, allocations: 0 / 1.177 GB, free: 9.438 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004059/0.9579, allocations: 224.6 kB / 1.177 GB, free: 9.199 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.958, allocations: 112.8 kB / 1.177 GB, free: 9.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.13e-05/0.9581, allocations: 8.094 kB / 1.177 GB, free: 9.062 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.333e-05/0.9582, allocations: 11.92 kB / 1.177 GB, free: 9.051 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/0.9582, allocations: 11.98 kB / 1.177 GB, free: 9.039 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.9583, allocations: 4 kB / 1.178 GB, free: 9.035 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004192/0.9587, allocations: 354.8 kB / 1.178 GB, free: 8.691 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.993e-06/0.9587, allocations: 4.062 kB / 1.178 GB, free: 8.688 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002745/0.959, allocations: 51.86 kB / 1.178 GB, free: 8.637 MB / 0.9044 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 (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.001573/0.9605, allocations: 416.5 kB / 1.178 GB, free: 8.379 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003227/0.9609, allocations: 119.7 kB / 1.178 GB, free: 8.262 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.9609, allocations: 0 / 1.178 GB, free: 8.262 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.961, allocations: 39.98 kB / 1.178 GB, free: 8.223 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.9614, allocations: 75.7 kB / 1.179 GB, free: 8.152 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.9626, allocations: 0.6984 MB / 1.179 GB, free: 7.43 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004719/0.9631, allocations: 0.8182 MB / 1.18 GB, free: 6.586 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001196/0.9632, allocations: 37.92 kB / 1.18 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.715e-05/0.9633, allocations: 23.44 kB / 1.18 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/0.9633, allocations: 0 / 1.18 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of Templates: time 0.008295/0.9716, allocations: 3.089 MB / 1.183 GB, free: 3.461 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches