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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002024/0.002024, allocations: 188.8 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 225.6 MB / 251 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.646/2.646, allocations: 443.4 MB / 0.7321 GB, free: 12.43 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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=2500,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=2500,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.001999/0.001999, allocations: 67.89 kB / 1.061 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026/1.028, allocations: 160.8 MB / 1.218 GB, free: 3.801 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.006546/1.035, allocations: 2.299 MB / 1.221 GB, free: 2.016 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003853/1.039, allocations: 1.464 MB / 1.222 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003204/1.039, allocations: 6.688 kB / 1.222 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000954/1.04, allocations: 186.5 kB / 1.222 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000621/1.041, allocations: 133.7 kB / 1.222 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007572/1.041, allocations: 173.1 kB / 1.223 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005511/1.042, allocations: 275.3 kB / 1.223 GB, free: 368 kB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002002/1.042, allocations: 29.48 kB / 1.223 GB, free: 352 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003049/1.042, allocations: 118.8 kB / 1.223 GB, free: 280 kB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002478/1.043, allocations: 120.9 kB / 1.223 GB, free: 200 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.267e-05/1.043, allocations: 13.69 kB / 1.223 GB, free: 200 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002438/1.043, allocations: 61.31 kB / 1.223 GB, free: 176 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001821/1.043, allocations: 100.2 kB / 1.223 GB, free: 112 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002669/1.043, allocations: 149.5 kB / 1.223 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008374/1.044, allocations: 398.9 kB / 1.224 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/1.044, allocations: 1.094 kB / 1.224 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.773e-06/1.044, allocations: 0 / 1.224 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.408e-06/1.044, allocations: 0 / 1.224 GB, free: 15.72 MB / 0.9356 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.001713/1.046, allocations: 0.7235 MB / 1.225 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/1.046, allocations: 10.19 kB / 1.225 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001495/1.046, allocations: 50.39 kB / 1.225 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008815/1.047, allocations: 417.5 kB / 1.225 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/1.047, allocations: 7.969 kB / 1.225 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.407e-05/1.047, allocations: 17.34 kB / 1.225 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003131/1.047, allocations: 86.59 kB / 1.225 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/1.047, allocations: 4.906 kB / 1.225 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.758e-05/1.047, allocations: 12.98 kB / 1.225 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/1.047, allocations: 1.125 kB / 1.225 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001959/1.048, allocations: 47.17 kB / 1.225 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/1.049, allocations: 0.4889 MB / 1.226 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000529/1.049, allocations: 109 kB / 1.226 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/1.05, allocations: 26.27 kB / 1.226 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.282e-05/1.05, allocations: 10.17 kB / 1.226 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002712/1.05, allocations: 86.28 kB / 1.226 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.923e-06/1.05, allocations: 0 / 1.226 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0005991/1.05, allocations: 186.5 kB / 1.226 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.942e-05/1.051, allocations: 52.62 kB / 1.226 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009259/1.051, allocations: 0.4927 MB / 1.227 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.035e-05/1.052, allocations: 32.64 kB / 1.227 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002959/1.052, allocations: 224.9 kB / 1.227 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.983e-05/1.052, allocations: 24.53 kB / 1.227 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/1.052, allocations: 52.05 kB / 1.227 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002726/1.052, allocations: 360.2 kB / 1.227 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/1.052, allocations: 53.94 kB / 1.227 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/1.053, allocations: 83.73 kB / 1.227 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/1.053, allocations: 96.39 kB / 1.227 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/1.053, allocations: 1.438 kB / 1.227 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005513/1.053, allocations: 209.1 kB / 1.228 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/1.054, allocations: 10.03 kB / 1.228 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/1.054, allocations: 0 / 1.228 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/1.054, allocations: 1.25 kB / 1.228 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/1.054, allocations: 41.97 kB / 1.228 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/1.054, allocations: 1.281 kB / 1.228 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/1.054, allocations: 18.66 kB / 1.228 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.792e-05/1.054, allocations: 10.47 kB / 1.228 GB, free: 12.54 MB / 0.9356 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.0003302/1.054, allocations: 196.4 kB / 1.228 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.568e-05/1.054, allocations: 48.58 kB / 1.228 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004543/1.055, allocations: 156 kB / 1.228 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/1.055, allocations: 4.969 kB / 1.228 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/1.055, allocations: 1.25 kB / 1.228 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/1.055, allocations: 0 / 1.228 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004933/1.055, allocations: 320 kB / 1.228 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/1.055, allocations: 0 / 1.228 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.227e-05/1.056, allocations: 12.06 kB / 1.228 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/1.056, allocations: 0 / 1.228 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/1.056, allocations: 6.562 kB / 1.228 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/1.056, allocations: 3.984 kB / 1.228 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.056, allocations: 4 kB / 1.228 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00058/1.056, allocations: 221.5 kB / 1.229 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001652/1.056, allocations: 118.9 kB / 1.229 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.45e-05/1.056, allocations: 1.406 kB / 1.229 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/1.056, allocations: 8.891 kB / 1.229 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.775e-05/1.057, allocations: 24.25 kB / 1.229 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/1.057, allocations: 2.375 kB / 1.229 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0006026/1.057, allocations: 353.5 kB / 1.229 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/1.057, allocations: 0 / 1.229 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004729/1.058, allocations: 49.53 kB / 1.229 GB, free: 11.43 MB / 0.9356 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.002191/1.06, allocations: 418.9 kB / 1.23 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004609/1.06, allocations: 105.7 kB / 1.23 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.06, allocations: 4.062 kB / 1.23 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/1.06, allocations: 41.11 kB / 1.23 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006442/1.061, allocations: 71.08 kB / 1.23 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/1.063, allocations: 0.7016 MB / 1.231 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005428/1.063, allocations: 0.8236 MB / 1.231 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001284/1.063, allocations: 34.27 kB / 1.231 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.539e-05/1.063, allocations: 31.44 kB / 1.231 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/1.063, allocations: 0 / 1.231 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of Templates: time 0.008999/1.072, allocations: 3.149 MB / 1.234 GB, free: 6.727 MB / 0.9356 GB " [Timeout remaining time 299] 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/jenkins/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 [Calling sys.exit(0), Time elapsed: 9.312925598584116]