Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001405/0.001405, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001713/0.001713, allocations: 211 kB / 22.99 MB, free: 4.953 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.618/1.618, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.544/3.544, allocations: 0.49 GB / 0.7959 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002109/0.002109, allocations: 75.44 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4604/0.4625, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004349/0.4668, allocations: 2.229 MB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002805/0.4696, allocations: 1.494 MB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001759/0.4698, allocations: 7.938 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007006/0.4705, allocations: 175.1 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005151/0.471, allocations: 175.2 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004004/0.4714, allocations: 135.6 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004059/0.4718, allocations: 290.9 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.472, allocations: 36.92 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001812/0.4722, allocations: 115.5 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001976/0.4724, allocations: 119.4 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.087e-05/0.4724, allocations: 16 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000154/0.4726, allocations: 51.98 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.4727, allocations: 107.5 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.4728, allocations: 107.2 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005478/0.4734, allocations: 414 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.4734, allocations: 3.938 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.475e-06/0.4734, allocations: 0 / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.4734, allocations: 4 kB / 1.332 GB, free: 11.54 MB / 1.029 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.001268/0.4746, allocations: 0.6436 MB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.4747, allocations: 8.031 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.4748, allocations: 52.61 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005809/0.4754, allocations: 357.3 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.4754, allocations: 8.375 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.68e-05/0.4754, allocations: 11.94 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002566/0.4757, allocations: 115.3 kB / 1.334 GB, free: 10.28 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.4757, allocations: 4 kB / 1.334 GB, free: 10.28 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.4757, allocations: 8 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.4757, allocations: 0 / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.4759, allocations: 59.89 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007613/0.4766, allocations: 420.1 kB / 1.334 GB, free: 9.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/0.4769, allocations: 90.52 kB / 1.334 GB, free: 9.672 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.296e-05/0.477, allocations: 36.98 kB / 1.334 GB, free: 9.633 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.477, allocations: 4 kB / 1.334 GB, free: 9.629 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002165/0.4772, allocations: 113.1 kB / 1.334 GB, free: 9.5 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.4772, allocations: 0 / 1.334 GB, free: 9.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.000419/0.4776, allocations: 173.6 kB / 1.334 GB, free: 9.324 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.4777, allocations: 55.44 kB / 1.334 GB, free: 9.258 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006247/0.4784, allocations: 0.5106 MB / 1.335 GB, free: 8.734 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.4784, allocations: 33.7 kB / 1.335 GB, free: 8.695 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002247/0.4786, allocations: 228.1 kB / 1.335 GB, free: 8.469 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.014e-05/0.4787, allocations: 31.73 kB / 1.335 GB, free: 8.438 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.652e-05/0.4788, allocations: 49.7 kB / 1.335 GB, free: 8.383 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001907/0.4789, allocations: 362.8 kB / 1.336 GB, free: 8.02 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.4791, allocations: 51.92 kB / 1.336 GB, free: 7.969 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.4792, allocations: 105.5 kB / 1.336 GB, free: 7.852 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.4794, allocations: 99.31 kB / 1.336 GB, free: 7.75 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4794, allocations: 0 / 1.336 GB, free: 7.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003664/0.4798, allocations: 218.8 kB / 1.336 GB, free: 7.531 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.4798, allocations: 5.406 kB / 1.336 GB, free: 7.527 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.4798, allocations: 64 / 1.336 GB, free: 7.527 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.4798, allocations: 8 kB / 1.336 GB, free: 7.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/0.48, allocations: 35.97 kB / 1.336 GB, free: 7.484 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.48, allocations: 3.938 kB / 1.336 GB, free: 7.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.4802, allocations: 15.95 kB / 1.336 GB, free: 7.465 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/0.4802, allocations: 11.98 kB / 1.336 GB, free: 7.453 MB / 1.029 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.0002262/0.4804, allocations: 184 kB / 1.336 GB, free: 7.266 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.758e-05/0.4805, allocations: 55.61 kB / 1.336 GB, free: 7.211 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000372/0.4809, allocations: 157.6 kB / 1.337 GB, free: 7.043 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.4809, allocations: 7.984 kB / 1.337 GB, free: 7.035 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.4809, allocations: 0 / 1.337 GB, free: 7.035 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.4809, allocations: 0 / 1.337 GB, free: 7.035 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003328/0.4812, allocations: 257.1 kB / 1.337 GB, free: 6.754 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.4812, allocations: 0 / 1.337 GB, free: 6.754 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.535e-05/0.4813, allocations: 15.88 kB / 1.337 GB, free: 6.738 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.4813, allocations: 3.938 kB / 1.337 GB, free: 6.734 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.4813, allocations: 3.984 kB / 1.337 GB, free: 6.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4813, allocations: 4 kB / 1.337 GB, free: 6.727 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4813, allocations: 0 / 1.337 GB, free: 6.727 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004424/0.4818, allocations: 236.7 kB / 1.337 GB, free: 6.477 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.102e-05/0.4818, allocations: 39.69 kB / 1.337 GB, free: 6.438 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.369e-05/0.4819, allocations: 4 kB / 1.337 GB, free: 6.434 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.155e-05/0.482, allocations: 7.984 kB / 1.337 GB, free: 6.426 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.113e-05/0.482, allocations: 11.98 kB / 1.337 GB, free: 6.414 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.482, allocations: 4 kB / 1.337 GB, free: 6.41 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004299/0.4825, allocations: 362.8 kB / 1.337 GB, free: 6.059 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4825, allocations: 4 kB / 1.337 GB, free: 6.055 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002887/0.4828, allocations: 47.89 kB / 1.338 GB, free: 6.008 MB / 1.029 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 (10): * Single equations (assignments): 8 * 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.001863/0.4846, allocations: 443.2 kB / 1.338 GB, free: 5.746 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003836/0.485, allocations: 103.8 kB / 1.338 GB, free: 5.645 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.485, allocations: 0 / 1.338 GB, free: 5.645 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.4851, allocations: 39.92 kB / 1.338 GB, free: 5.605 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005616/0.4857, allocations: 74.42 kB / 1.338 GB, free: 5.543 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.4871, allocations: 0.7072 MB / 1.339 GB, free: 4.812 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.4874, allocations: 220.8 kB / 1.339 GB, free: 4.574 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001277/0.4875, allocations: 37.92 kB / 1.339 GB, free: 4.535 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.629e-05/0.4876, allocations: 31.42 kB / 1.339 GB, free: 4.508 MB / 1.029 GB Notification: Performance of SimCode: time 8.21e-07/0.4876, allocations: 0 / 1.339 GB, free: 4.508 MB / 1.029 GB Notification: Performance of Templates: time 0.01014/0.4978, allocations: 3.597 MB / 1.343 GB, free: 0.9688 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.321173547999933]