Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.005407/0.005407, allocations: 96.73 kB / 15.73 MB, free: 6.484 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.0011/0.0011, allocations: 192.3 kB / 16.67 MB, free: 6.391 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.966/2.966, allocations: 469.8 MB / 0.7425 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 67.89 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.3611, allocations: 159.1 MB / 1.221 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003672/0.3648, allocations: 2.265 MB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002218/0.367, allocations: 1.447 MB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.3671, allocations: 4 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005894/0.3677, allocations: 179.3 kB / 1.224 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003606/0.3681, allocations: 143.2 kB / 1.225 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004049/0.3685, allocations: 166.8 kB / 1.225 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003216/0.3688, allocations: 267.1 kB / 1.225 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.3689, allocations: 48.58 kB / 1.225 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.3691, allocations: 115.5 kB / 1.225 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.3692, allocations: 107.5 kB / 1.225 GB, free: 9 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.484e-05/0.3693, allocations: 12 kB / 1.225 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.3694, allocations: 55.97 kB / 1.225 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.3695, allocations: 99.55 kB / 1.225 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.3696, allocations: 150.8 kB / 1.226 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004723/0.3701, allocations: 405.9 kB / 1.226 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3701, allocations: 4 kB / 1.226 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3701, allocations: 0 / 1.226 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.167e-05/0.3701, allocations: 0 / 1.226 GB, free: 8.285 MB / 0.9825 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.0009763/0.3711, allocations: 0.719 MB / 1.227 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.3712, allocations: 12.03 kB / 1.227 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.382e-05/0.3712, allocations: 48.61 kB / 1.227 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005162/0.3718, allocations: 416.5 kB / 1.227 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.3718, allocations: 8.375 kB / 1.227 GB, free: 7 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.219e-05/0.3718, allocations: 11.94 kB / 1.227 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/0.372, allocations: 93.64 kB / 1.227 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.372, allocations: 0 / 1.227 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.3721, allocations: 0 / 1.227 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.3721, allocations: 4 kB / 1.227 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.3722, allocations: 47.97 kB / 1.227 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007631/0.3729, allocations: 0.4926 MB / 1.228 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003547/0.3733, allocations: 106.6 kB / 1.228 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.064e-05/0.3734, allocations: 36.84 kB / 1.228 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.3734, allocations: 4 kB / 1.228 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001953/0.3736, allocations: 87.36 kB / 1.228 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.3736, allocations: 0 / 1.228 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0003848/0.374, allocations: 181.2 kB / 1.228 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.374, allocations: 51.41 kB / 1.228 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005333/0.3746, allocations: 0.495 MB / 1.229 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.3746, allocations: 29.7 kB / 1.229 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.3748, allocations: 236.1 kB / 1.229 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.3748, allocations: 23.84 kB / 1.229 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.653e-05/0.3749, allocations: 49.66 kB / 1.229 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3751, allocations: 367.1 kB / 1.229 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.3752, allocations: 47.97 kB / 1.229 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.3753, allocations: 75.48 kB / 1.229 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.3755, allocations: 99.45 kB / 1.23 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3755, allocations: 3.938 kB / 1.23 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003416/0.3758, allocations: 215.3 kB / 1.23 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.3758, allocations: 4 kB / 1.23 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.3758, allocations: 0 / 1.23 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.3759, allocations: 4 kB / 1.23 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.376, allocations: 35.92 kB / 1.23 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.376, allocations: 3.984 kB / 1.23 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.3762, allocations: 27.92 kB / 1.23 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.3762, allocations: 8 kB / 1.23 GB, free: 4.043 MB / 0.9825 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.0001832/0.3764, allocations: 192.7 kB / 1.23 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.809e-05/0.3764, allocations: 47.67 kB / 1.23 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.462e-05/0.3765, allocations: 51.83 kB / 1.23 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.3765, allocations: 4 kB / 1.23 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.3765, allocations: 0 / 1.23 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.3765, allocations: 0 / 1.23 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002795/0.3768, allocations: 317.5 kB / 1.23 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3768, allocations: 4 kB / 1.23 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.872e-05/0.3769, allocations: 15.92 kB / 1.23 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3769, allocations: 0 / 1.23 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.3769, allocations: 0 / 1.23 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3769, allocations: 0 / 1.23 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3769, allocations: 0 / 1.23 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003775/0.3772, allocations: 224.6 kB / 1.231 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.139e-05/0.3773, allocations: 120.9 kB / 1.231 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.004e-05/0.3774, allocations: 4 kB / 1.231 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-05/0.3775, allocations: 7.984 kB / 1.231 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.3775, allocations: 11.98 kB / 1.231 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.3775, allocations: 4 kB / 1.231 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003491/0.3779, allocations: 354.8 kB / 1.231 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3779, allocations: 0 / 1.231 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002748/0.3782, allocations: 51.88 kB / 1.231 GB, free: 2.566 MB / 0.9825 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.000967/0.3791, allocations: 432.4 kB / 1.232 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002944/0.3794, allocations: 103.8 kB / 1.232 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3794, allocations: 4 kB / 1.232 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.147e-05/0.3795, allocations: 31.98 kB / 1.232 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.3799, allocations: 72.58 kB / 1.232 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.381, allocations: 0.7024 MB / 1.232 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005113/0.3815, allocations: 0.8221 MB / 1.233 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001042/0.3816, allocations: 37.92 kB / 1.233 GB, free: 488 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.938e-05/0.3817, allocations: 23.44 kB / 1.233 GB, free: 464 kB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.3817, allocations: 0 / 1.233 GB, free: 464 kB / 0.9825 GB Notification: Performance of Templates: time 0.007381/0.3891, allocations: 3.089 MB / 1.236 GB, free: 13.39 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches