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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001406/0.001406, allocations: 107.9 kB / 16.41 MB, free: 6.465 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.001515/0.001515, allocations: 192.3 kB / 17.35 MB, free: 5.711 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.468/1.468, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.673/2.673, allocations: 472.7 MB / 0.746 GB, free: 496 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 63.91 kB / 1.07 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9788/0.9802, allocations: 159.9 MB / 1.226 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004514/0.9848, allocations: 2.258 MB / 1.229 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002883/0.9877, allocations: 1.451 MB / 1.23 GB, free: 9.844 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002928/0.988, allocations: 8 kB / 1.23 GB, free: 9.836 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.9891, allocations: 183.3 kB / 1.23 GB, free: 9.656 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001009/0.9901, allocations: 135.3 kB / 1.23 GB, free: 9.523 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007049/0.9909, allocations: 171.1 kB / 1.23 GB, free: 9.359 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0005178/0.9914, allocations: 267.1 kB / 1.231 GB, free: 9.098 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002048/0.9916, allocations: 56.66 kB / 1.231 GB, free: 9.043 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002643/0.9919, allocations: 115.5 kB / 1.231 GB, free: 8.93 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.9921, allocations: 111.4 kB / 1.231 GB, free: 8.82 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.546e-05/0.9922, allocations: 16 kB / 1.231 GB, free: 8.805 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001808/0.9923, allocations: 55.98 kB / 1.231 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.9925, allocations: 95.61 kB / 1.231 GB, free: 8.656 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001796/0.9927, allocations: 154.8 kB / 1.231 GB, free: 8.504 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006053/0.9933, allocations: 390.6 kB / 1.232 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.9933, allocations: 7.938 kB / 1.232 GB, free: 8.121 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.432e-06/0.9933, allocations: 0 / 1.232 GB, free: 8.121 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.767e-05/0.9933, allocations: 0 / 1.232 GB, free: 8.121 MB / 0.9512 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.001329/0.9947, allocations: 0.719 MB / 1.232 GB, free: 7.352 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/0.9947, allocations: 12.03 kB / 1.232 GB, free: 7.34 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001489/0.9949, allocations: 48.61 kB / 1.232 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006617/0.9956, allocations: 420.5 kB / 1.233 GB, free: 6.844 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.9956, allocations: 4.375 kB / 1.233 GB, free: 6.84 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.08e-05/0.9956, allocations: 11.94 kB / 1.233 GB, free: 6.828 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.9959, allocations: 89.64 kB / 1.233 GB, free: 6.734 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.9959, allocations: 8 kB / 1.233 GB, free: 6.727 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.9959, allocations: 0 / 1.233 GB, free: 6.727 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.996, allocations: 4 kB / 1.233 GB, free: 6.723 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001464/0.9961, allocations: 55.91 kB / 1.233 GB, free: 6.668 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008357/0.997, allocations: 0.4887 MB / 1.233 GB, free: 6.129 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003752/0.9973, allocations: 110.7 kB / 1.234 GB, free: 6.012 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.615e-05/0.9974, allocations: 36.84 kB / 1.234 GB, free: 5.973 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.9975, allocations: 0 / 1.234 GB, free: 5.973 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000191/0.9977, allocations: 91.31 kB / 1.234 GB, free: 5.871 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 1.853e-06/0.9977, allocations: 0 / 1.234 GB, free: 5.871 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.0004246/0.9981, allocations: 181.2 kB / 1.234 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.9982, allocations: 59.41 kB / 1.234 GB, free: 5.617 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005608/0.9987, allocations: 0.4911 MB / 1.234 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.9988, allocations: 33.7 kB / 1.234 GB, free: 5.074 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.9989, allocations: 224.1 kB / 1.235 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.999, allocations: 31.77 kB / 1.235 GB, free: 4.82 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.504e-05/0.9991, allocations: 49.66 kB / 1.235 GB, free: 4.766 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.9992, allocations: 358.8 kB / 1.235 GB, free: 4.406 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.9993, allocations: 51.92 kB / 1.235 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.9995, allocations: 80.8 kB / 1.235 GB, free: 4.27 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/0.9997, allocations: 103.8 kB / 1.235 GB, free: 4.164 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.9997, allocations: 0 / 1.235 GB, free: 4.164 MB / 0.9512 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003424/1, allocations: 206.6 kB / 1.235 GB, free: 3.957 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/1, allocations: 8 kB / 1.235 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/1, allocations: 0 / 1.235 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/1, allocations: 4.062 kB / 1.235 GB, free: 3.945 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/1, allocations: 39.92 kB / 1.236 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/1, allocations: 4 kB / 1.236 GB, free: 3.902 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/1, allocations: 19.88 kB / 1.236 GB, free: 3.883 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/1, allocations: 8 kB / 1.236 GB, free: 3.875 MB / 0.9512 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.000176/1.001, allocations: 182.3 kB / 1.236 GB, free: 3.688 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.848e-05/1.001, allocations: 51.61 kB / 1.236 GB, free: 3.637 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.102e-05/1.001, allocations: 47.91 kB / 1.236 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/1.001, allocations: 0 / 1.236 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.001, allocations: 4 kB / 1.236 GB, free: 3.578 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-05/1.001, allocations: 116.8 kB / 1.236 GB, free: 3.445 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.263e-05/1.001, allocations: 4 kB / 1.236 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.989e-05/1.001, allocations: 4.375 kB / 1.236 GB, free: 3.438 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.461e-05/1.001, allocations: 15.97 kB / 1.236 GB, free: 3.422 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003372/1.001, allocations: 208.7 kB / 1.236 GB, free: 3.211 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004179/1.002, allocations: 370.4 kB / 1.237 GB, free: 2.832 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.218e-05/1.002, allocations: 43.94 kB / 1.237 GB, free: 2.789 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003771/1.002, allocations: 354.8 kB / 1.237 GB, free: 2.445 MB / 0.9512 GB Notification: Performance of Backend: time 7.32e-07/1.002, allocations: 0 / 1.237 GB, free: 2.445 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00149/1.004, allocations: 474.2 kB / 1.237 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001484/1.005, allocations: 1.195 MB / 1.239 GB, free: 0.9023 MB / 0.9512 GB Notification: Performance of Templates: time 0.007957/1.013, allocations: 3.169 MB / 1.242 GB, free: 13.76 MB / 0.9669 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