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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001905/0.001905, 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.002974/0.002974, allocations: 187.9 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.57/1.57, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.96/2.96, allocations: 476.7 MB / 0.7646 GB, free: 9.883 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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=2500,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=2500,variableFilter="time|assFue.assMes.u|assFue.mFue_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00242/0.00242, allocations: 63.89 kB / 1.11 GB, free: 6.332 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.043/1.045, allocations: 168.8 MB / 1.274 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.007059/1.052, allocations: 2.292 MB / 1.277 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004399/1.056, allocations: 1.475 MB / 1.278 GB, free: 460 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003906/1.057, allocations: 7.938 kB / 1.278 GB, free: 452 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009608/1.058, allocations: 179.4 kB / 1.278 GB, free: 272 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0007463/1.059, allocations: 135.3 kB / 1.278 GB, free: 136 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000791/1.059, allocations: 159.6 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006551/1.06, allocations: 278.9 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002239/1.06, allocations: 44.88 kB / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003414/1.061, allocations: 111.5 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002769/1.061, allocations: 119.4 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.01e-05/1.061, allocations: 12 kB / 1.279 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000259/1.061, allocations: 55.95 kB / 1.279 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001846/1.061, allocations: 107.5 kB / 1.279 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002211/1.062, allocations: 146.8 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008569/1.062, allocations: 404.5 kB / 1.28 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/1.062, allocations: 0 / 1.28 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.444e-06/1.062, allocations: 0 / 1.28 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.913e-05/1.062, allocations: 4 kB / 1.28 GB, free: 14.72 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.00177/1.064, allocations: 0.6398 MB / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/1.064, allocations: 12.03 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001667/1.064, allocations: 48.61 kB / 1.28 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007601/1.065, allocations: 353.3 kB / 1.281 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/1.065, allocations: 8.312 kB / 1.281 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.839e-05/1.065, allocations: 19.94 kB / 1.281 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002706/1.066, allocations: 89.64 kB / 1.281 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/1.066, allocations: 0 / 1.281 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/1.066, allocations: 4 kB / 1.281 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/1.066, allocations: 0 / 1.281 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/1.066, allocations: 51.97 kB / 1.281 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/1.067, allocations: 475.5 kB / 1.281 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004301/1.067, allocations: 98.66 kB / 1.281 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.718e-05/1.067, allocations: 36.84 kB / 1.281 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.08e-05/1.067, allocations: 0 / 1.281 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002627/1.068, allocations: 87.38 kB / 1.282 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/1.068, allocations: 0 / 1.282 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0005345/1.068, allocations: 181.2 kB / 1.282 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.137e-05/1.068, allocations: 51.41 kB / 1.282 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000763/1.069, allocations: 0.4989 MB / 1.282 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/1.069, allocations: 25.7 kB / 1.282 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002763/1.069, allocations: 232.1 kB / 1.283 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.469e-05/1.069, allocations: 31.84 kB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/1.07, allocations: 53.58 kB / 1.283 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002755/1.07, allocations: 363.2 kB / 1.283 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/1.07, allocations: 43.98 kB / 1.283 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/1.07, allocations: 81.17 kB / 1.283 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002474/1.07, allocations: 92.11 kB / 1.283 GB, free: 11 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/1.07, allocations: 7.969 kB / 1.283 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004893/1.071, allocations: 213.2 kB / 1.283 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/1.071, allocations: 6.188 kB / 1.283 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/1.071, allocations: 4 kB / 1.283 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.689e-05/1.071, allocations: 7.984 kB / 1.283 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/1.071, allocations: 39.91 kB / 1.283 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/1.071, allocations: 0 / 1.283 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/1.071, allocations: 23.88 kB / 1.283 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.866e-05/1.071, allocations: 12.03 kB / 1.283 GB, free: 10.68 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.0003096/1.072, allocations: 185.7 kB / 1.284 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.481e-05/1.072, allocations: 51.67 kB / 1.284 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003734/1.072, allocations: 153.5 kB / 1.284 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/1.072, allocations: 7.938 kB / 1.284 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/1.072, allocations: 0 / 1.284 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/1.072, allocations: 0 / 1.284 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004089/1.073, allocations: 288.5 kB / 1.284 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/1.073, allocations: 0 / 1.284 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.243e-05/1.073, allocations: 15.94 kB / 1.284 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/1.073, allocations: 0 / 1.284 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/1.073, allocations: 7.984 kB / 1.284 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/1.073, allocations: 0 / 1.284 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.073, allocations: 0 / 1.284 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004902/1.073, allocations: 216.6 kB / 1.284 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/1.073, allocations: 43.67 kB / 1.284 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.866e-05/1.073, allocations: 8.062 kB / 1.284 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.248e-05/1.073, allocations: 8 kB / 1.284 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.189e-05/1.073, allocations: 16.16 kB / 1.284 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/1.073, allocations: 0 / 1.284 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004664/1.074, allocations: 358.8 kB / 1.285 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/1.074, allocations: 0 / 1.285 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003154/1.074, allocations: 47.89 kB / 1.285 GB, free: 9.23 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 (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.001732/1.076, allocations: 425 kB / 1.285 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000352/1.076, allocations: 97.8 kB / 1.285 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.076, allocations: 7.875 kB / 1.285 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001056/1.076, allocations: 35.98 kB / 1.285 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004782/1.077, allocations: 64.84 kB / 1.285 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/1.078, allocations: 0.7073 MB / 1.286 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005948/1.079, allocations: 0.8273 MB / 1.287 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001549/1.079, allocations: 41.92 kB / 1.287 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.991e-05/1.079, allocations: 27.44 kB / 1.287 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of SimCode: time 7.21e-07/1.079, allocations: 0 / 1.287 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of Templates: time 0.01001/1.089, allocations: 3.141 MB / 1.29 GB, free: 4 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.905042036436498]