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.001401/0.001401, allocations: 108.3 kB / 16.42 MB, free: 6.512 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.001568/0.001568, allocations: 189.5 kB / 17.35 MB, free: 5.734 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.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.16 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.279/2.279, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 63.89 kB / 0.9516 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.934/0.9354, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.00346/0.9389, allocations: 2.265 MB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002211/0.9411, allocations: 1.438 MB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001653/0.9413, allocations: 2.188 kB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006293/0.942, allocations: 191.5 kB / 1.092 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003629/0.9423, allocations: 136.2 kB / 1.093 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004358/0.9428, allocations: 168.5 kB / 1.093 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003552/0.9431, allocations: 267.3 kB / 1.093 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.9433, allocations: 54.88 kB / 1.093 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.9435, allocations: 119.6 kB / 1.093 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.9437, allocations: 109.9 kB / 1.093 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.387e-05/0.9437, allocations: 13.62 kB / 1.093 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001633/0.9439, allocations: 63.12 kB / 1.093 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.944, allocations: 92.8 kB / 1.093 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.9442, allocations: 152 kB / 1.094 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005116/0.9447, allocations: 389.5 kB / 1.094 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.9447, allocations: 0.75 kB / 1.094 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9447, allocations: 0 / 1.094 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.9447, allocations: 0.7812 kB / 1.094 GB, free: 2.094 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.001044/0.9458, allocations: 0.7037 MB / 1.095 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.9458, allocations: 9.766 kB / 1.095 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.032e-05/0.9459, allocations: 46.03 kB / 1.095 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005013/0.9464, allocations: 418.2 kB / 1.095 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.9464, allocations: 8.406 kB / 1.095 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.325e-05/0.9465, allocations: 14.33 kB / 1.095 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/0.9467, allocations: 97.34 kB / 1.095 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.9467, allocations: 0 / 1.095 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.9468, allocations: 0.8438 kB / 1.095 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.9468, allocations: 2.25 kB / 1.095 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001449/0.9469, allocations: 49.98 kB / 1.095 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007983/0.9477, allocations: 0.4894 MB / 1.096 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003674/0.9481, allocations: 115.1 kB / 1.096 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.326e-05/0.9482, allocations: 36.39 kB / 1.096 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.9482, allocations: 1.734 kB / 1.096 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001914/0.9484, allocations: 90.45 kB / 1.096 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.9484, allocations: 4 kB / 1.096 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0004311/0.9489, allocations: 175.6 kB / 1.096 GB, free: 468 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.9489, allocations: 57 kB / 1.096 GB, free: 400 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006841/0.9496, allocations: 0.4957 MB / 1.097 GB, free: 176 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.9496, allocations: 32.25 kB / 1.097 GB, free: 140 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/0.9498, allocations: 232.5 kB / 1.097 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.999e-05/0.9499, allocations: 26.48 kB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.095e-05/0.95, allocations: 45.34 kB / 1.097 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.9501, allocations: 363.6 kB / 1.097 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.9503, allocations: 50.72 kB / 1.097 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.9504, allocations: 76.3 kB / 1.097 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002206/0.9507, allocations: 98.14 kB / 1.098 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.9507, allocations: 0 / 1.098 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004014/0.9511, allocations: 215.6 kB / 1.098 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.9511, allocations: 5.859 kB / 1.098 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.9511, allocations: 0.6562 kB / 1.098 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.9512, allocations: 1.5 kB / 1.098 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.9514, allocations: 42.27 kB / 1.098 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/0.9514, allocations: 1.844 kB / 1.098 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.9515, allocations: 22.5 kB / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/0.9516, allocations: 11.23 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.0002231/0.9518, allocations: 186.8 kB / 1.098 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.355e-05/0.9519, allocations: 48.08 kB / 1.098 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.743e-05/0.952, allocations: 45.8 kB / 1.098 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.952, allocations: 1.516 kB / 1.098 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.952, allocations: 0 / 1.098 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.972e-05/0.9521, allocations: 112.1 kB / 1.098 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.886e-05/0.9521, allocations: 7.547 kB / 1.098 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.157e-05/0.9522, allocations: 9.25 kB / 1.098 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.895e-05/0.9523, allocations: 10.05 kB / 1.098 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003655/0.9527, allocations: 206.2 kB / 1.098 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004689/0.9531, allocations: 365.5 kB / 1.099 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.402e-05/0.9533, allocations: 41.02 kB / 1.099 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004988/0.9538, allocations: 352 kB / 1.099 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of Backend: time 7.01e-07/0.9538, allocations: 0 / 1.099 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001528/0.9553, allocations: 481 kB / 1.1 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001555/0.9569, allocations: 1.172 MB / 1.101 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of Templates: time 0.009318/0.9662, allocations: 3.162 MB / 1.104 GB, free: 13.05 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