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.00158/0.00158, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.001787/0.001787, allocations: 216.8 kB / 23.04 MB, free: 4.852 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.482/1.482, 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.244/3.244, allocations: 0.49 GB / 0.7959 GB, free: 35.45 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.002045/0.002045, allocations: 69.97 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3405, allocations: 176.1 MB / 1.327 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004201/0.3447, allocations: 2.234 MB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002788/0.3475, allocations: 1.498 MB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001803/0.3477, allocations: 7.938 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006286/0.3483, allocations: 175.1 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004978/0.3488, allocations: 179.2 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003809/0.3492, allocations: 135.6 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000402/0.3496, allocations: 283 kB / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.3498, allocations: 32.92 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.3499, allocations: 115.4 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.3501, allocations: 111.4 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.45e-05/0.3502, allocations: 16 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001494/0.3503, allocations: 51.98 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.3505, allocations: 107.6 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.3506, allocations: 115.1 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005409/0.3512, allocations: 410 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3512, allocations: 0 / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3512, allocations: 0 / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.239e-05/0.3512, allocations: 0 / 1.332 GB, free: 11.5 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.001132/0.3523, allocations: 0.6514 MB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.3523, allocations: 12.03 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.3524, allocations: 48.61 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005413/0.353, allocations: 365.3 kB / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.353, allocations: 4.375 kB / 1.334 GB, free: 10.37 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.887e-05/0.353, allocations: 15.92 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.3533, allocations: 115.4 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.3533, allocations: 0 / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.3533, allocations: 3.984 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.3533, allocations: 0 / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001546/0.3535, allocations: 55.97 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007432/0.3542, allocations: 420.1 kB / 1.334 GB, free: 9.73 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/0.3545, allocations: 94.52 kB / 1.334 GB, free: 9.629 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.142e-05/0.3546, allocations: 32.98 kB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.3546, allocations: 0 / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002069/0.3548, allocations: 117.1 kB / 1.334 GB, free: 9.461 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.3548, allocations: 0 / 1.334 GB, free: 9.461 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0004039/0.3552, allocations: 173.2 kB / 1.334 GB, free: 9.285 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.3552, allocations: 55.34 kB / 1.335 GB, free: 9.219 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005993/0.3558, allocations: 0.5145 MB / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.3559, allocations: 29.7 kB / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/0.3561, allocations: 232 kB / 1.335 GB, free: 8.426 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.863e-05/0.3561, allocations: 31.73 kB / 1.335 GB, free: 8.395 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.938e-05/0.3562, allocations: 49.7 kB / 1.335 GB, free: 8.34 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002009/0.3564, allocations: 362.8 kB / 1.336 GB, free: 7.977 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.3565, allocations: 47.97 kB / 1.336 GB, free: 7.93 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.3566, allocations: 105.1 kB / 1.336 GB, free: 7.812 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.3568, allocations: 102.8 kB / 1.336 GB, free: 7.707 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3568, allocations: 0 / 1.336 GB, free: 7.707 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003584/0.3572, allocations: 219 kB / 1.336 GB, free: 7.488 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.3572, allocations: 8 kB / 1.336 GB, free: 7.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.3572, allocations: 0 / 1.336 GB, free: 7.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.3572, allocations: 0 / 1.336 GB, free: 7.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.3574, allocations: 39.91 kB / 1.336 GB, free: 7.441 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.3574, allocations: 0 / 1.336 GB, free: 7.441 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.3575, allocations: 15.95 kB / 1.336 GB, free: 7.426 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.3576, allocations: 11.98 kB / 1.336 GB, free: 7.414 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.0002011/0.3578, allocations: 186.4 kB / 1.336 GB, free: 7.223 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.832e-05/0.3578, allocations: 51.61 kB / 1.336 GB, free: 7.172 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003333/0.3582, allocations: 161.6 kB / 1.337 GB, free: 7 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.3582, allocations: 3.984 kB / 1.337 GB, free: 6.996 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3582, allocations: 0 / 1.337 GB, free: 6.996 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3582, allocations: 4 kB / 1.337 GB, free: 6.992 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/0.3584, allocations: 253.1 kB / 1.337 GB, free: 6.715 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3584, allocations: 0 / 1.337 GB, free: 6.715 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.604e-05/0.3585, allocations: 11.94 kB / 1.337 GB, free: 6.703 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.748e-06/0.3585, allocations: 4.406 kB / 1.337 GB, free: 6.699 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.3585, allocations: 15.98 kB / 1.337 GB, free: 6.684 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3585, allocations: 0 / 1.337 GB, free: 6.684 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3585, allocations: 0 / 1.337 GB, free: 6.684 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003919/0.3589, allocations: 224.6 kB / 1.337 GB, free: 6.445 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.073e-05/0.359, allocations: 43.69 kB / 1.337 GB, free: 6.402 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.338e-05/0.359, allocations: 0 / 1.337 GB, free: 6.402 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.564e-05/0.3591, allocations: 11.98 kB / 1.337 GB, free: 6.391 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.02e-05/0.3592, allocations: 7.984 kB / 1.337 GB, free: 6.383 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.3592, allocations: 4 kB / 1.337 GB, free: 6.379 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004113/0.3596, allocations: 366.8 kB / 1.338 GB, free: 6.023 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3596, allocations: 4.062 kB / 1.338 GB, free: 6.02 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002716/0.3599, allocations: 47.89 kB / 1.338 GB, free: 5.973 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.001659/0.3615, allocations: 449.5 kB / 1.338 GB, free: 5.711 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003024/0.3618, allocations: 103.8 kB / 1.338 GB, free: 5.609 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3618, allocations: 0 / 1.338 GB, free: 5.609 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.687e-05/0.3619, allocations: 35.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.0004265/0.3624, allocations: 79.19 kB / 1.338 GB, free: 5.504 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.3636, allocations: 0.7474 MB / 1.339 GB, free: 4.73 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.3638, allocations: 229.5 kB / 1.339 GB, free: 4.484 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.821e-05/0.3639, allocations: 27.44 kB / 1.339 GB, free: 4.461 MB / 1.029 GB Notification: Performance of SimCode: time 3.81e-07/0.3639, allocations: 0 / 1.339 GB, free: 4.461 MB / 1.029 GB Notification: Performance of Templates: time 0.008327/0.3722, allocations: 4.856 MB / 1.344 GB, free: 15.62 MB / 1.045 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 -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: 12.356818599859253]