Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 219.1 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.27/3.27, allocations: 0.505 GB / 0.8108 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_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_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 62.94 kB / 1.178 GB, free: 16.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3535, allocations: 180.2 MB / 1.354 GB, free: 7.977 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004125/0.3576, allocations: 2.315 MB / 1.356 GB, free: 5.652 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002804/0.3604, allocations: 1.628 MB / 1.358 GB, free: 4.02 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001773/0.3606, allocations: 0 / 1.358 GB, free: 4.02 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006459/0.3613, allocations: 191.1 kB / 1.358 GB, free: 3.832 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004944/0.3618, allocations: 179.1 kB / 1.358 GB, free: 3.656 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003862/0.3621, allocations: 135.6 kB / 1.358 GB, free: 3.523 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003959/0.3625, allocations: 279 kB / 1.359 GB, free: 3.25 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.3627, allocations: 28.92 kB / 1.359 GB, free: 3.223 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002028/0.3629, allocations: 127.4 kB / 1.359 GB, free: 3.098 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000183/0.3631, allocations: 119.5 kB / 1.359 GB, free: 2.98 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.324e-05/0.3631, allocations: 12 kB / 1.359 GB, free: 2.969 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.3632, allocations: 59.92 kB / 1.359 GB, free: 2.91 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.3634, allocations: 103.6 kB / 1.359 GB, free: 2.809 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.3635, allocations: 150.8 kB / 1.359 GB, free: 2.66 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005328/0.364, allocations: 410 kB / 1.36 GB, free: 2.258 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.364, allocations: 0 / 1.36 GB, free: 2.258 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.442e-06/0.364, allocations: 0 / 1.36 GB, free: 2.258 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.3641, allocations: 0 / 1.36 GB, free: 2.258 MB / 1.045 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.001125/0.3652, allocations: 0.6514 MB / 1.36 GB, free: 1.574 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.3652, allocations: 8.031 kB / 1.36 GB, free: 1.566 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.595e-05/0.3653, allocations: 56.55 kB / 1.36 GB, free: 1.512 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005679/0.3659, allocations: 357.4 kB / 1.361 GB, free: 1.133 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.3659, allocations: 4.375 kB / 1.361 GB, free: 1.129 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.343e-05/0.3659, allocations: 19.92 kB / 1.361 GB, free: 1.109 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.3662, allocations: 85.66 kB / 1.361 GB, free: 1.02 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.3662, allocations: 0 / 1.361 GB, free: 1.02 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.3662, allocations: 3.938 kB / 1.361 GB, free: 1.016 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.3662, allocations: 7.938 kB / 1.361 GB, free: 1.008 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.3663, allocations: 55.91 kB / 1.361 GB, free: 0.9531 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008106/0.3671, allocations: 471.6 kB / 1.361 GB, free: 460 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003636/0.3675, allocations: 102.7 kB / 1.361 GB, free: 348 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.593e-05/0.3676, allocations: 32.84 kB / 1.361 GB, free: 312 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.3676, allocations: 4 kB / 1.361 GB, free: 308 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001997/0.3678, allocations: 91.31 kB / 1.362 GB, free: 204 kB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/0.3678, allocations: 0 / 1.362 GB, free: 204 kB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0004278/0.3682, allocations: 189.2 kB / 1.362 GB, free: 8 kB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.138e-05/0.3683, allocations: 51.41 kB / 1.362 GB, free: 15.95 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005816/0.3689, allocations: 0.5068 MB / 1.362 GB, free: 15.43 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.3689, allocations: 33.7 kB / 1.362 GB, free: 15.39 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/0.3691, allocations: 228 kB / 1.363 GB, free: 15.16 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.3691, allocations: 23.8 kB / 1.363 GB, free: 15.14 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.577e-05/0.3692, allocations: 53.69 kB / 1.363 GB, free: 15.08 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.3694, allocations: 358.7 kB / 1.363 GB, free: 14.72 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.3695, allocations: 51.97 kB / 1.363 GB, free: 14.67 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.3697, allocations: 84.75 kB / 1.363 GB, free: 14.58 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.3699, allocations: 107.5 kB / 1.363 GB, free: 14.47 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3699, allocations: 0 / 1.363 GB, free: 14.47 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003639/0.3703, allocations: 209.3 kB / 1.363 GB, free: 14.26 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.3703, allocations: 8 kB / 1.363 GB, free: 14.25 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.3703, allocations: 0 / 1.363 GB, free: 14.25 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.3703, allocations: 0 / 1.363 GB, free: 14.25 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.3705, allocations: 43.91 kB / 1.363 GB, free: 14.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.3705, allocations: 4 kB / 1.363 GB, free: 14.2 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.3706, allocations: 15.97 kB / 1.363 GB, free: 14.19 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.145e-05/0.3706, allocations: 12.38 kB / 1.363 GB, free: 14.18 MB / 1.061 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.0002031/0.3708, allocations: 193.6 kB / 1.364 GB, free: 13.98 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.511e-05/0.3709, allocations: 47.67 kB / 1.364 GB, free: 13.93 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003153/0.3712, allocations: 161.6 kB / 1.364 GB, free: 13.77 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3712, allocations: 0 / 1.364 GB, free: 13.77 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3712, allocations: 0 / 1.364 GB, free: 13.77 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3712, allocations: 4 kB / 1.364 GB, free: 13.76 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003127/0.3715, allocations: 296.5 kB / 1.364 GB, free: 13.43 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.3715, allocations: 4 kB / 1.364 GB, free: 13.43 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.486e-05/0.3716, allocations: 8 kB / 1.364 GB, free: 13.42 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.3716, allocations: 4 kB / 1.364 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.3716, allocations: 3.984 kB / 1.364 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3716, allocations: 0 / 1.364 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3716, allocations: 0 / 1.364 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003913/0.372, allocations: 224.6 kB / 1.364 GB, free: 13.17 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.73e-05/0.3721, allocations: 43.69 kB / 1.364 GB, free: 13.13 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.071e-05/0.3721, allocations: 4 kB / 1.364 GB, free: 13.12 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.62e-05/0.3722, allocations: 4 kB / 1.364 GB, free: 13.12 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.437e-05/0.3723, allocations: 15.97 kB / 1.364 GB, free: 13.11 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.3723, allocations: 4 kB / 1.364 GB, free: 13.1 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004037/0.3727, allocations: 354.8 kB / 1.365 GB, free: 12.76 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3727, allocations: 4 kB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002815/0.373, allocations: 47.92 kB / 1.365 GB, free: 12.71 MB / 1.061 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.001594/0.3746, allocations: 427.9 kB / 1.365 GB, free: 12.44 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003101/0.3749, allocations: 103.9 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3749, allocations: 0 / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.91e-05/0.375, allocations: 39.92 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004279/0.3754, allocations: 84.67 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.3767, allocations: 0.7519 MB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004986/0.3772, allocations: 0.8337 MB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.348e-05/0.3773, allocations: 27.44 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of SimCode: time 4.61e-07/0.3773, allocations: 4 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of Templates: time 0.008084/0.3854, allocations: 4.703 MB / 1.372 GB, free: 5.855 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.32458602002589]