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.002079/0.002079, 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.002516/0.002516, allocations: 211 kB / 22.99 MB, free: 4.957 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.241/3.241, allocations: 0.49 GB / 0.7959 GB, free: 35.5 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.002933/0.002933, allocations: 66.34 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.4029, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004382/0.4073, allocations: 2.217 MB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002871/0.4101, allocations: 1.506 MB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001495/0.4103, allocations: 3.938 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006846/0.411, allocations: 175.1 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005075/0.4115, allocations: 175.2 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003447/0.4118, allocations: 131.6 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004002/0.4122, allocations: 286.9 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.4124, allocations: 36.91 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.4125, allocations: 115.4 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001979/0.4127, allocations: 119.5 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.904e-05/0.4128, allocations: 12 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001582/0.4129, allocations: 63.95 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.4131, allocations: 99.55 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.4132, allocations: 107.2 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005514/0.4137, allocations: 418 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.4137, allocations: 3.938 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4138, allocations: 0 / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.4138, allocations: 0 / 1.332 GB, free: 11.51 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.001228/0.415, allocations: 0.6475 MB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.415, allocations: 8.031 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.491e-05/0.4151, allocations: 48.61 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006091/0.4157, allocations: 361.3 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.4158, allocations: 8.375 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.159e-05/0.4158, allocations: 11.94 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002735/0.4161, allocations: 122 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.4161, allocations: 0 / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.735e-05/0.4161, allocations: 7.984 kB / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.4161, allocations: 8 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.4163, allocations: 55.91 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008129/0.4171, allocations: 424.1 kB / 1.334 GB, free: 9.734 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002595/0.4173, allocations: 94.61 kB / 1.334 GB, free: 9.633 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.668e-05/0.4174, allocations: 32.89 kB / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.4175, allocations: 4 kB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002333/0.4177, allocations: 109.1 kB / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.4177, allocations: 0 / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0004273/0.4181, allocations: 177.3 kB / 1.334 GB, free: 9.289 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.4182, allocations: 59.34 kB / 1.334 GB, free: 9.219 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006038/0.4188, allocations: 0.5067 MB / 1.335 GB, free: 8.699 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.4188, allocations: 29.7 kB / 1.335 GB, free: 8.664 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/0.419, allocations: 232 kB / 1.335 GB, free: 8.434 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.282e-05/0.419, allocations: 35.73 kB / 1.335 GB, free: 8.398 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.128e-05/0.4191, allocations: 49.69 kB / 1.335 GB, free: 8.344 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001848/0.4193, allocations: 358.8 kB / 1.336 GB, free: 7.984 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.4194, allocations: 47.98 kB / 1.336 GB, free: 7.938 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.4196, allocations: 104.2 kB / 1.336 GB, free: 7.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002024/0.4198, allocations: 108.2 kB / 1.336 GB, free: 7.711 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4198, allocations: 0 / 1.336 GB, free: 7.711 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003742/0.4202, allocations: 214.9 kB / 1.336 GB, free: 7.496 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.4202, allocations: 4 kB / 1.336 GB, free: 7.492 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.4202, allocations: 0 / 1.336 GB, free: 7.492 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.4202, allocations: 4 kB / 1.336 GB, free: 7.488 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002068/0.4204, allocations: 35.98 kB / 1.336 GB, free: 7.453 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.4204, allocations: 4.375 kB / 1.336 GB, free: 7.449 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.4206, allocations: 19.94 kB / 1.336 GB, free: 7.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.628e-05/0.4206, allocations: 4 kB / 1.336 GB, free: 7.426 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.000204/0.4208, allocations: 190.3 kB / 1.336 GB, free: 7.23 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.577e-05/0.4209, allocations: 55.55 kB / 1.336 GB, free: 7.176 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003428/0.4212, allocations: 161.6 kB / 1.337 GB, free: 7.004 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.4212, allocations: 0 / 1.337 GB, free: 7.004 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4212, allocations: 0 / 1.337 GB, free: 7.004 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.4212, allocations: 4 kB / 1.337 GB, free: 7 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002872/0.4215, allocations: 249.1 kB / 1.337 GB, free: 6.727 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4215, allocations: 0 / 1.337 GB, free: 6.727 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.38e-05/0.4216, allocations: 19.88 kB / 1.337 GB, free: 6.707 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.4216, allocations: 3.938 kB / 1.337 GB, free: 6.703 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.4216, allocations: 0 / 1.337 GB, free: 6.703 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4216, allocations: 0 / 1.337 GB, free: 6.703 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4216, allocations: 0 / 1.337 GB, free: 6.703 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004396/0.422, allocations: 224.7 kB / 1.337 GB, free: 6.465 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.549e-05/0.4221, allocations: 43.67 kB / 1.337 GB, free: 6.422 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.86e-05/0.4222, allocations: 12.06 kB / 1.337 GB, free: 6.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.585e-05/0.4223, allocations: 8 kB / 1.337 GB, free: 6.402 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.218e-05/0.4223, allocations: 15.97 kB / 1.337 GB, free: 6.387 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.4223, allocations: 4 kB / 1.337 GB, free: 6.383 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004326/0.4228, allocations: 358.8 kB / 1.337 GB, free: 6.035 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4228, allocations: 0 / 1.337 GB, free: 6.035 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002901/0.4231, allocations: 55.88 kB / 1.338 GB, free: 5.98 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.001788/0.4249, allocations: 441.4 kB / 1.338 GB, free: 5.723 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003238/0.4252, allocations: 111.8 kB / 1.338 GB, free: 5.613 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4252, allocations: 0 / 1.338 GB, free: 5.613 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.4253, allocations: 39.98 kB / 1.338 GB, free: 5.574 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000451/0.4257, allocations: 68.56 kB / 1.338 GB, free: 5.52 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.4269, allocations: 0.715 MB / 1.339 GB, free: 4.781 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.4271, allocations: 228.8 kB / 1.339 GB, free: 4.535 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001155/0.4273, allocations: 33.92 kB / 1.339 GB, free: 4.5 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.801e-05/0.4273, allocations: 31.42 kB / 1.339 GB, free: 4.473 MB / 1.029 GB Notification: Performance of SimCode: time 4.31e-07/0.4273, allocations: 0 / 1.339 GB, free: 4.473 MB / 1.029 GB Notification: Performance of Templates: time 0.009274/0.4366, allocations: 3.593 MB / 1.343 GB, free: 0.9375 MB / 1.029 GB " [Timeout remaining time 300] 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 gbode -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: 9.124280143005308]