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.001464/0.001464, allocations: 80.92 kB / 20.75 MB, free: 3.742 MB / 18.57 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.001141/0.001141, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 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 0.9719/0.9719, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.94/1.94, allocations: 377.9 MB / 0.624 GB, free: 8.34 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.7601 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.21e-05/1.338e-05, allocations: 7.062 kB / 0.7601 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.002954/0.002968, allocations: 2.336 MB / 0.7624 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001822/0.00479, allocations: 1.583 MB / 0.7639 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.004911, allocations: 7.938 kB / 0.7639 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0004344/0.005345, allocations: 171.6 kB / 0.7641 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003293/0.005674, allocations: 188.3 kB / 0.7643 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.005915, allocations: 132.1 kB / 0.7644 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002643/0.00618, allocations: 290.8 kB / 0.7647 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.006281, allocations: 37.62 kB / 0.7647 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004968/0.006778, allocations: 230.3 kB / 0.7649 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.523e-05/0.006873, allocations: 67.7 kB / 0.765 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.006896, allocations: 15.98 kB / 0.765 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.007, allocations: 51.91 kB / 0.7651 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.006e-05/0.00707, allocations: 106.6 kB / 0.7652 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.594e-05/0.007126, allocations: 67.67 kB / 0.7652 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002711/0.007397, allocations: 262.8 kB / 0.7655 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.007399, allocations: 0 / 0.7655 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.91e-07/0.0074, allocations: 0 / 0.7655 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.407e-06/0.007403, allocations: 0 / 0.7655 GB, free: 1.113 MB / 0.7136 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.0005604/0.007964, allocations: 0.6148 MB / 0.7661 GB, free: 484 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.642e-05/0.00799, allocations: 9.531 kB / 0.7661 GB, free: 476 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.473e-05/0.008035, allocations: 32.84 kB / 0.7661 GB, free: 444 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.0083, allocations: 317.8 kB / 0.7664 GB, free: 100 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.008317, allocations: 9.031 kB / 0.7664 GB, free: 92 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.008337, allocations: 12.36 kB / 0.7664 GB, free: 80 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.008478, allocations: 109.4 kB / 0.7665 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.008486, allocations: 3.938 kB / 0.7665 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.008494, allocations: 4 kB / 0.7665 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.0085, allocations: 4 kB / 0.7666 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.048e-05/0.00855, allocations: 23.92 kB / 0.7666 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003277/0.008878, allocations: 252.1 kB / 0.7668 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.935e-05/0.008977, allocations: 105.2 kB / 0.7669 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.296e-05/0.009, allocations: 20.84 kB / 0.7669 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.009012, allocations: 6.344 kB / 0.7669 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.479e-05/0.009107, allocations: 103.8 kB / 0.767 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/0.009108, allocations: 0 / 0.767 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.000127/0.009235, allocations: 89.58 kB / 0.7671 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.094e-05/0.009256, allocations: 51.41 kB / 0.7672 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002352/0.009491, allocations: 411.3 kB / 0.7676 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.009509, allocations: 34.73 kB / 0.7676 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.634e-05/0.009576, allocations: 153.4 kB / 0.7677 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.009601, allocations: 28.69 kB / 0.7678 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.041e-05/0.009651, allocations: 49.66 kB / 0.7678 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.185e-05/0.009743, allocations: 370.6 kB / 0.7682 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.803e-05/0.009771, allocations: 24.92 kB / 0.7682 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.558e-05/0.009816, allocations: 74.11 kB / 0.7683 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.275e-05/0.009879, allocations: 65.52 kB / 0.7683 GB, free: 14 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.009881, allocations: 0 / 0.7683 GB, free: 14 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001193/0.01, allocations: 125.2 kB / 0.7685 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.01001, allocations: 4 kB / 0.7685 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.01001, allocations: 0 / 0.7685 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.01003, allocations: 4 kB / 0.7685 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.01014, allocations: 35.91 kB / 0.7685 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.01015, allocations: 7.938 kB / 0.7685 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.401e-05/0.0102, allocations: 17.45 kB / 0.7685 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.01022, allocations: 7.984 kB / 0.7685 GB, free: 13.8 MB / 0.7292 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 7.669e-05/0.01029, allocations: 123.1 kB / 0.7686 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.01032, allocations: 25.72 kB / 0.7687 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001234/0.01044, allocations: 105.7 kB / 0.7688 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.01044, allocations: 0 / 0.7688 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.01044, allocations: 3.938 kB / 0.7688 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.01045, allocations: 0.9375 kB / 0.7688 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.01057, allocations: 161.7 kB / 0.7689 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.01057, allocations: 3.984 kB / 0.7689 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.92e-05/0.01061, allocations: 8.656 kB / 0.7689 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.01061, allocations: 0.6562 kB / 0.7689 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.01062, allocations: 7.984 kB / 0.7689 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.01062, allocations: 0.625 kB / 0.7689 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01063, allocations: 3.938 kB / 0.769 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.01076, allocations: 131.3 kB / 0.7691 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.095e-05/0.01079, allocations: 44.14 kB / 0.7691 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.01081, allocations: 4 kB / 0.7691 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.877e-05/0.01085, allocations: 8.625 kB / 0.7691 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.085e-05/0.01088, allocations: 20.5 kB / 0.7691 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.01088, allocations: 0 / 0.7691 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001378/0.01102, allocations: 189.9 kB / 0.7693 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01102, allocations: 0 / 0.7693 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001497/0.01117, allocations: 47.94 kB / 0.7694 GB, free: 12.88 MB / 0.7292 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.001062/0.01223, allocations: 0.5264 MB / 0.7699 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001102/0.01234, allocations: 56.77 kB / 0.7699 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/0.01235, allocations: 8.625 kB / 0.77 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.335e-05/0.01243, allocations: 25.52 kB / 0.77 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.01262, allocations: 76.09 kB / 0.77 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007254/0.01334, allocations: 0.6255 MB / 0.7707 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.521e-05/0.01341, allocations: 121.2 kB / 0.7708 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.05e-05/0.01348, allocations: 33.23 kB / 0.7708 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.01365, allocations: 96.12 kB / 0.7709 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of SimCode: time 5.31e-07/0.01365, allocations: 0 / 0.7709 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of Templates: time 0.005921/0.01957, allocations: 3.396 MB / 0.7742 GB, free: 8.301 MB / 0.7292 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9757206458598375]