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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001104/0.001104, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001536/0.001537, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.546/2.546, allocations: 390.9 MB / 0.666 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003874/0.0003874, allocations: 12 kB / 0.8154 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8059/0.8063, allocations: 142.4 MB / 0.9544 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.002503/0.8088, allocations: 1.9 MB / 0.9563 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001814/0.8107, allocations: 1.324 MB / 0.9576 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.8108, allocations: 2.312 kB / 0.9576 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005423/0.8114, allocations: 173.8 kB / 0.9578 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002822/0.8117, allocations: 113 kB / 0.9579 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003427/0.812, allocations: 124.5 kB / 0.958 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002954/0.8123, allocations: 233 kB / 0.9582 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.8125, allocations: 46.19 kB / 0.9583 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.8127, allocations: 96.08 kB / 0.9583 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.8128, allocations: 103.5 kB / 0.9584 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.8129, allocations: 4.125 kB / 0.9584 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.813, allocations: 46.08 kB / 0.9585 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.963e-05/0.8131, allocations: 85.58 kB / 0.9586 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.85e-05/0.8132, allocations: 82.17 kB / 0.9587 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002998/0.8135, allocations: 290.5 kB / 0.9589 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.8135, allocations: 0 / 0.9589 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.557e-06/0.8135, allocations: 0.9375 kB / 0.9589 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.375e-06/0.8135, allocations: 4 kB / 0.9589 GB, free: 4.301 MB / 0.7169 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.0008602/0.8144, allocations: 0.6589 MB / 0.9596 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.8144, allocations: 8.156 kB / 0.9596 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.841e-05/0.8145, allocations: 49.64 kB / 0.9596 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004625/0.815, allocations: 379.1 kB / 0.96 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.815, allocations: 12 kB / 0.96 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.517e-05/0.8151, allocations: 6.031 kB / 0.96 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.8153, allocations: 94.8 kB / 0.9601 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.8153, allocations: 0 / 0.9601 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.8153, allocations: 4 kB / 0.9601 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.8153, allocations: 6.703 kB / 0.9601 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.8155, allocations: 50.09 kB / 0.9602 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007079/0.8162, allocations: 0.4944 MB / 0.9606 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003356/0.8165, allocations: 108 kB / 0.9607 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.266e-05/0.8166, allocations: 39.91 kB / 0.9608 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.8166, allocations: 1.375 kB / 0.9608 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001725/0.8168, allocations: 85.31 kB / 0.9609 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.703e-06/0.8168, allocations: 0 / 0.9609 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.000401/0.8172, allocations: 182.7 kB / 0.961 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.8173, allocations: 56.38 kB / 0.9611 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006009/0.8179, allocations: 0.4887 MB / 0.9616 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.8179, allocations: 35.19 kB / 0.9616 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.8181, allocations: 221.3 kB / 0.9618 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/0.8181, allocations: 29.28 kB / 0.9618 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.116e-05/0.8181, allocations: 4 kB / 0.9618 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.394e-05/0.8182, allocations: 360.1 kB / 0.9622 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.8184, allocations: 44.89 kB / 0.9622 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.8185, allocations: 82.3 kB / 0.9623 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.8186, allocations: 61.31 kB / 0.9624 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.8186, allocations: 0 / 0.9624 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003301/0.819, allocations: 205.6 kB / 0.9626 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.819, allocations: 5.5 kB / 0.9626 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.819, allocations: 5.016 kB / 0.9626 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.819, allocations: 1.062 kB / 0.9626 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.8192, allocations: 40.8 kB / 0.9626 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.8192, allocations: 2.219 kB / 0.9626 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.8194, allocations: 25.52 kB / 0.9626 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.918e-05/0.8194, allocations: 6.562 kB / 0.9627 GB, free: 1.281 MB / 0.7169 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 ($whenCondition1,$PRE.mFue_flow.tab.nextTimeEvent,$PRE.assFue.hys.y,assFue.hys.y,mFue_flow.tab.nextTimeEvent,$PRE.mFue_flow.tab.nextTimeEventScaled,mFue_flow.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001693/0.8196, allocations: 193.5 kB / 0.9628 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.65e-05/0.8196, allocations: 43.59 kB / 0.9629 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.999e-05/0.8197, allocations: 44.33 kB / 0.9629 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.8197, allocations: 12.94 kB / 0.9629 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.8197, allocations: 0 / 0.9629 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.8197, allocations: 1.219 kB / 0.9629 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002435/0.82, allocations: 315.5 kB / 0.9632 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.82, allocations: 4.922 kB / 0.9632 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.453e-05/0.8201, allocations: 11.61 kB / 0.9632 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.8201, allocations: 0 / 0.9632 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.8201, allocations: 1.125 kB / 0.9632 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.8201, allocations: 0.75 kB / 0.9633 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.8201, allocations: 4.938 kB / 0.9633 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003336/0.8204, allocations: 224.7 kB / 0.9635 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.572e-05/0.8205, allocations: 114.6 kB / 0.9636 GB, free: 488 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.216e-05/0.8206, allocations: 5.469 kB / 0.9636 GB, free: 484 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.933e-05/0.8207, allocations: 9.641 kB / 0.9636 GB, free: 480 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.939e-05/0.8207, allocations: 8.984 kB / 0.9636 GB, free: 476 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.8207, allocations: 7.891 kB / 0.9636 GB, free: 472 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000366/0.8211, allocations: 360.4 kB / 0.964 GB, free: 252 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8211, allocations: 0 / 0.964 GB, free: 252 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002798/0.8214, allocations: 49.91 kB / 0.964 GB, free: 240 kB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001085/0.8225, allocations: 419.5 kB / 0.9644 GB, free: 32 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003237/0.8228, allocations: 106.5 kB / 0.9645 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.8228, allocations: 0 / 0.9645 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.823, allocations: 41.89 kB / 0.9645 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004288/0.8234, allocations: 65.2 kB / 0.9646 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.8248, allocations: 0.7749 MB / 0.9654 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005098/0.8253, allocations: 0.8253 MB / 0.9662 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001452/0.8254, allocations: 33.28 kB / 0.9662 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.262e-05/0.8255, allocations: 30.83 kB / 0.9662 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of SimCode: time 5.31e-07/0.8255, allocations: 0 / 0.9662 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of Templates: time 0.00776/0.8333, allocations: 2.813 MB / 0.969 GB, free: 13.22 MB / 0.7325 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/jenkins/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