Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 103.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002157/0.002157, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 225.6 MB / 250 MB, free: 3.203 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.6/2.6, allocations: 443.5 MB / 0.731 GB, free: 13.97 MB / 0.5762 GB [Timeout remaining time 87] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=511,variableFilter="time|assFue.assMes.u|assFue.mFue_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=511,variableFilter="time|assFue.assMes.u|assFue.mFue_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 75.89 kB / 1.06 GB, free: 0.5195 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3487, allocations: 160.7 MB / 1.217 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004155/0.3528, allocations: 2.289 MB / 1.219 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002458/0.3553, allocations: 1.456 MB / 1.22 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.3554, allocations: 3.938 kB / 1.22 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006473/0.3561, allocations: 179.1 kB / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004213/0.3565, allocations: 143.2 kB / 1.221 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004863/0.357, allocations: 159.6 kB / 1.221 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003872/0.3574, allocations: 271 kB / 1.221 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.3575, allocations: 32.73 kB / 1.221 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001869/0.3577, allocations: 111.5 kB / 1.221 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.3579, allocations: 119.4 kB / 1.221 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.139e-05/0.358, allocations: 12 kB / 1.221 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.3581, allocations: 59.95 kB / 1.221 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.3583, allocations: 103.5 kB / 1.221 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.3584, allocations: 138.9 kB / 1.221 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005499/0.359, allocations: 406 kB / 1.222 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.359, allocations: 0 / 1.222 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.623e-06/0.359, allocations: 0 / 1.222 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.359, allocations: 0 / 1.222 GB, free: 10.02 MB / 0.9669 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.001221/0.3602, allocations: 0.7305 MB / 1.223 GB, free: 9.234 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.3602, allocations: 8.031 kB / 1.223 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.3603, allocations: 48.61 kB / 1.223 GB, free: 9.18 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006179/0.361, allocations: 416.6 kB / 1.223 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.361, allocations: 4.375 kB / 1.223 GB, free: 8.73 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.512e-05/0.361, allocations: 11.94 kB / 1.223 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/0.3612, allocations: 93.58 kB / 1.223 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.3613, allocations: 0 / 1.223 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.3613, allocations: 8 kB / 1.223 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.3613, allocations: 0 / 1.223 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.3614, allocations: 51.97 kB / 1.223 GB, free: 8.562 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008616/0.3623, allocations: 496.5 kB / 1.224 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003774/0.3627, allocations: 98.72 kB / 1.224 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.817e-05/0.3627, allocations: 36.78 kB / 1.224 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.3628, allocations: 4 kB / 1.224 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002063/0.363, allocations: 91.31 kB / 1.224 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.363, allocations: 0 / 1.224 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0004341/0.3634, allocations: 185.2 kB / 1.224 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/0.3635, allocations: 55.41 kB / 1.224 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005896/0.3641, allocations: 0.495 MB / 1.225 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.3641, allocations: 41.69 kB / 1.225 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002004/0.3643, allocations: 220 kB / 1.225 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.952e-05/0.3643, allocations: 27.78 kB / 1.225 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.812e-05/0.3644, allocations: 53.66 kB / 1.225 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002137/0.3646, allocations: 358.8 kB / 1.225 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.3648, allocations: 47.97 kB / 1.225 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.3649, allocations: 80.55 kB / 1.225 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.3651, allocations: 104 kB / 1.225 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.3651, allocations: 4 kB / 1.225 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003654/0.3655, allocations: 209.2 kB / 1.226 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.3655, allocations: 8 kB / 1.226 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.3655, allocations: 0 / 1.226 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.3655, allocations: 0 / 1.226 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.3657, allocations: 35.98 kB / 1.226 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.3657, allocations: 7.984 kB / 1.226 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.3658, allocations: 15.92 kB / 1.226 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.037e-05/0.3659, allocations: 12 kB / 1.226 GB, free: 5.773 MB / 0.9669 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.0002198/0.3661, allocations: 189.7 kB / 1.226 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.607e-05/0.3661, allocations: 47.67 kB / 1.226 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000349/0.3665, allocations: 161.9 kB / 1.226 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.3665, allocations: 0 / 1.226 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3665, allocations: 0 / 1.226 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.3665, allocations: 4.094 kB / 1.226 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003381/0.3668, allocations: 325.3 kB / 1.226 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3668, allocations: 0 / 1.226 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.865e-05/0.3669, allocations: 11.98 kB / 1.226 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3669, allocations: 0 / 1.226 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.3669, allocations: 0 / 1.226 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.3669, allocations: 3.938 kB / 1.226 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3669, allocations: 4 kB / 1.226 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004055/0.3673, allocations: 224.6 kB / 1.227 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.3674, allocations: 112.9 kB / 1.227 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.663e-05/0.3675, allocations: 4 kB / 1.227 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.109e-05/0.3676, allocations: 7.984 kB / 1.227 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.183e-05/0.3676, allocations: 11.98 kB / 1.227 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.3676, allocations: 7.938 kB / 1.227 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004129/0.368, allocations: 350.8 kB / 1.227 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.368, allocations: 0 / 1.227 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002892/0.3683, allocations: 55.92 kB / 1.227 GB, free: 4.184 MB / 0.9669 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 (assFue.hys.y,mFue_flow.tab.nextTimeEvent,mFue_flow.tab.nextTimeEventScaled) * 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.001579/0.3699, allocations: 426 kB / 1.228 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003572/0.3703, allocations: 109.7 kB / 1.228 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.3703, allocations: 4 kB / 1.228 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.824e-05/0.3704, allocations: 35.92 kB / 1.228 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004462/0.3708, allocations: 74.86 kB / 1.228 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.3722, allocations: 0.7391 MB / 1.229 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005077/0.3727, allocations: 0.826 MB / 1.229 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.545e-05/0.3728, allocations: 31.42 kB / 1.229 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of SimCode: time 4.41e-07/0.3728, allocations: 192 / 1.229 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of Templates: time 0.008313/0.3811, allocations: 4.638 MB / 1.234 GB, free: 13.46 MB / 0.9825 GB [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches