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.001263/0.001263, allocations: 114.4 kB / 16.42 MB, free: 6.504 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.001245/0.001245, allocations: 189.4 kB / 17.34 MB, free: 5.738 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.532/1.532, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.608/2.608, allocations: 461.7 MB / 0.7352 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 67.91 kB / 1.055 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.943/0.945, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.00416/0.9493, allocations: 2.253 MB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002447/0.9517, allocations: 1.44 MB / 1.212 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002496/0.952, allocations: 4 kB / 1.212 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006823/0.9528, allocations: 191.3 kB / 1.212 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004653/0.9532, allocations: 127.3 kB / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005105/0.9538, allocations: 167 kB / 1.212 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004337/0.9542, allocations: 267 kB / 1.213 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001889/0.9544, allocations: 60.34 kB / 1.213 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002042/0.9546, allocations: 107.5 kB / 1.213 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002156/0.9549, allocations: 107.5 kB / 1.213 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.937e-05/0.9549, allocations: 16 kB / 1.213 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001734/0.9551, allocations: 59.97 kB / 1.213 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.9552, allocations: 103.5 kB / 1.213 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001544/0.9554, allocations: 146.9 kB / 1.213 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005002/0.9559, allocations: 392.5 kB / 1.213 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.9559, allocations: 4 kB / 1.214 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.282e-06/0.9559, allocations: 0 / 1.214 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.338e-05/0.9559, allocations: 0 / 1.214 GB, free: 8.184 MB / 0.9356 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.001151/0.9571, allocations: 0.6996 MB / 1.214 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.9571, allocations: 12.03 kB / 1.214 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.9573, allocations: 52.28 kB / 1.214 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005825/0.9578, allocations: 416 kB / 1.215 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.9579, allocations: 8.359 kB / 1.215 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.786e-05/0.9579, allocations: 11.94 kB / 1.215 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002393/0.9582, allocations: 95.75 kB / 1.215 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.9582, allocations: 0 / 1.215 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.9582, allocations: 0 / 1.215 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.9582, allocations: 8 kB / 1.215 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.9584, allocations: 51.97 kB / 1.215 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008538/0.9592, allocations: 492.4 kB / 1.215 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003579/0.9596, allocations: 114.7 kB / 1.215 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.891e-05/0.9597, allocations: 32.84 kB / 1.215 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.9597, allocations: 4 kB / 1.215 GB, free: 6.059 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001811/0.9599, allocations: 87.36 kB / 1.216 GB, free: 5.961 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.813e-06/0.9599, allocations: 0 / 1.216 GB, free: 5.961 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.000411/0.9603, allocations: 184.9 kB / 1.216 GB, free: 5.773 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.9604, allocations: 55.41 kB / 1.216 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005215/0.9609, allocations: 0.4988 MB / 1.216 GB, free: 5.199 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.9609, allocations: 29.7 kB / 1.216 GB, free: 5.164 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.9611, allocations: 224.1 kB / 1.216 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.9611, allocations: 23.66 kB / 1.216 GB, free: 4.918 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.048e-05/0.9612, allocations: 53.59 kB / 1.217 GB, free: 4.859 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.9614, allocations: 366.7 kB / 1.217 GB, free: 4.492 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.9615, allocations: 47.98 kB / 1.217 GB, free: 4.445 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.9616, allocations: 78.55 kB / 1.217 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.9618, allocations: 95.42 kB / 1.217 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.9618, allocations: 0 / 1.217 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003538/0.9622, allocations: 211.5 kB / 1.217 GB, free: 4.051 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.9622, allocations: 4 kB / 1.217 GB, free: 4.047 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.9622, allocations: 0 / 1.217 GB, free: 4.047 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.9622, allocations: 12.05 kB / 1.217 GB, free: 4.035 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.9624, allocations: 39.92 kB / 1.217 GB, free: 3.996 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.9624, allocations: 0 / 1.217 GB, free: 3.996 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.9626, allocations: 15.92 kB / 1.217 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.962e-05/0.9626, allocations: 12 kB / 1.217 GB, free: 3.969 MB / 0.9356 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.0001953/0.9628, allocations: 179.5 kB / 1.218 GB, free: 3.785 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.567e-05/0.9629, allocations: 47.38 kB / 1.218 GB, free: 3.738 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.323e-05/0.9629, allocations: 51.91 kB / 1.218 GB, free: 3.684 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.963, allocations: 0 / 1.218 GB, free: 3.684 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.963, allocations: 0 / 1.218 GB, free: 3.684 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.174e-05/0.963, allocations: 112.5 kB / 1.218 GB, free: 3.555 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.432e-05/0.9631, allocations: 11.98 kB / 1.218 GB, free: 3.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.773e-05/0.9632, allocations: 4 kB / 1.218 GB, free: 3.539 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.348e-05/0.9633, allocations: 15.98 kB / 1.218 GB, free: 3.523 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003212/0.9636, allocations: 200.8 kB / 1.218 GB, free: 3.32 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004086/0.964, allocations: 374.5 kB / 1.218 GB, free: 2.938 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.798e-05/0.9641, allocations: 47.94 kB / 1.218 GB, free: 2.891 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003507/0.9645, allocations: 350.8 kB / 1.219 GB, free: 2.551 MB / 0.9356 GB Notification: Performance of Backend: time 3.21e-07/0.9645, allocations: 0 / 1.219 GB, free: 2.551 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001456/0.9659, allocations: 479.2 kB / 1.219 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of SimCode: time 0.001462/0.9674, allocations: 1.192 MB / 1.22 GB, free: 1 MB / 0.9356 GB Notification: Performance of Templates: time 0.007744/0.9752, allocations: 3.129 MB / 1.223 GB, free: 13.9 MB / 0.9512 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches