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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001437/0.001437, allocations: 105.5 kB / 16.41 MB, free: 6.488 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.0015/0.0015, allocations: 187 kB / 17.34 MB, free: 5.73 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.333/2.333, allocations: 390.2 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 63.91 kB / 0.9515 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8599/0.8614, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003487/0.8649, allocations: 2.263 MB / 1.091 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002103/0.8671, allocations: 1.436 MB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001716/0.8673, allocations: 6.219 kB / 1.092 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006586/0.868, allocations: 190 kB / 1.092 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003696/0.8683, allocations: 136.5 kB / 1.093 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004846/0.8688, allocations: 164.2 kB / 1.093 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003683/0.8692, allocations: 262.8 kB / 1.093 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/0.8694, allocations: 58.39 kB / 1.093 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001881/0.8696, allocations: 120.1 kB / 1.093 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.8698, allocations: 106.1 kB / 1.093 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.546e-05/0.8698, allocations: 17.94 kB / 1.093 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000179/0.87, allocations: 58.98 kB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.8701, allocations: 95.95 kB / 1.093 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.8703, allocations: 148.1 kB / 1.094 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005167/0.8708, allocations: 393.7 kB / 1.094 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.8708, allocations: 0.7188 kB / 1.094 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.764e-06/0.8708, allocations: 4 kB / 1.094 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.257e-05/0.8708, allocations: 0.75 kB / 1.094 GB, free: 2.09 MB / 0.8575 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.0009814/0.8718, allocations: 0.6997 MB / 1.095 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.8719, allocations: 10.7 kB / 1.095 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.755e-05/0.872, allocations: 45.66 kB / 1.095 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005093/0.8725, allocations: 418.4 kB / 1.095 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.8725, allocations: 12.94 kB / 1.095 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.51e-05/0.8725, allocations: 9.875 kB / 1.095 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002406/0.8728, allocations: 89.53 kB / 1.095 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.8728, allocations: 0.6562 kB / 1.095 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.8728, allocations: 5 kB / 1.095 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.8728, allocations: 2.344 kB / 1.095 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.873, allocations: 53.02 kB / 1.095 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008006/0.8738, allocations: 498.2 kB / 1.096 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003751/0.8742, allocations: 118.7 kB / 1.096 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.495e-05/0.8743, allocations: 35.97 kB / 1.096 GB, free: 0.6133 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/0.8743, allocations: 1.938 kB / 1.096 GB, free: 0.6133 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001821/0.8745, allocations: 90.53 kB / 1.096 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.8745, allocations: 0.5625 kB / 1.096 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0004228/0.8749, allocations: 178.9 kB / 1.096 GB, free: 464 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.875, allocations: 53.23 kB / 1.096 GB, free: 400 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006212/0.8756, allocations: 0.4959 MB / 1.097 GB, free: 176 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.8756, allocations: 29.42 kB / 1.097 GB, free: 144 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.8758, allocations: 234.6 kB / 1.097 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.175e-05/0.8759, allocations: 30.95 kB / 1.097 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.701e-05/0.876, allocations: 46.05 kB / 1.097 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002436/0.8762, allocations: 364.1 kB / 1.097 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.8764, allocations: 46.16 kB / 1.097 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.8765, allocations: 76.19 kB / 1.097 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.8768, allocations: 103.7 kB / 1.098 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.8768, allocations: 0 / 1.098 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003917/0.8772, allocations: 212.7 kB / 1.098 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.8772, allocations: 7.656 kB / 1.098 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.8772, allocations: 1.375 kB / 1.098 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.8772, allocations: 1.531 kB / 1.098 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.8774, allocations: 38.19 kB / 1.098 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.8774, allocations: 1.812 kB / 1.098 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.8776, allocations: 26.56 kB / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.988e-05/0.8776, allocations: 6.375 kB / 1.098 GB, free: 15.31 MB / 0.8731 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.0001959/0.8778, allocations: 191.1 kB / 1.098 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.931e-05/0.8779, allocations: 44.64 kB / 1.098 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.878, allocations: 50.28 kB / 1.098 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.878, allocations: 1.641 kB / 1.098 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.878, allocations: 1 kB / 1.098 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.878, allocations: 0.7031 kB / 1.098 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003605/0.8784, allocations: 314.6 kB / 1.098 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.8784, allocations: 4.703 kB / 1.098 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.423e-05/0.8785, allocations: 8.188 kB / 1.098 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.738e-06/0.8785, allocations: 1.703 kB / 1.098 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.8785, allocations: 2.266 kB / 1.098 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.8785, allocations: 0.9688 kB / 1.098 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.8785, allocations: 0 / 1.098 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004107/0.8789, allocations: 224 kB / 1.099 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.8791, allocations: 115 kB / 1.099 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/0.8791, allocations: 10.5 kB / 1.099 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.807e-05/0.8792, allocations: 11.14 kB / 1.099 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.477e-05/0.8793, allocations: 8.531 kB / 1.099 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.8793, allocations: 8.828 kB / 1.099 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004292/0.8797, allocations: 353.3 kB / 1.099 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8797, allocations: 3.938 kB / 1.099 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002912/0.88, allocations: 46.28 kB / 1.099 GB, free: 14.43 MB / 0.8731 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.001034/0.8811, allocations: 421.2 kB / 1.1 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003192/0.8814, allocations: 111.1 kB / 1.1 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.8814, allocations: 0.75 kB / 1.1 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.8815, allocations: 42.98 kB / 1.1 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004579/0.882, allocations: 78.86 kB / 1.1 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.8833, allocations: 0.7146 MB / 1.1 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000494/0.8838, allocations: 0.8277 MB / 1.101 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.741e-05/0.8839, allocations: 32.72 kB / 1.101 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/0.8839, allocations: 0 / 1.101 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of Templates: time 0.01052/0.8944, allocations: 4.618 MB / 1.106 GB, free: 12.2 MB / 0.8731 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches