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.0009824/0.0009824, 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.0009758/0.0009758, 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.9675/0.9675, allocations: 177.2 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.892/1.892, allocations: 377.9 MB / 0.624 GB, free: 8.355 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.412e-06/1.412e-06, allocations: 0 / 0.76 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.163e-05/2.304e-05, allocations: 2.312 kB / 0.76 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003106/0.003129, allocations: 2.289 MB / 0.7623 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002115/0.005244, allocations: 1.578 MB / 0.7638 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001603/0.005404, allocations: 8.594 kB / 0.7638 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0005262/0.00593, allocations: 175.5 kB / 0.764 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0004046/0.006335, allocations: 185.1 kB / 0.7642 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003203/0.006655, allocations: 143.4 kB / 0.7643 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003056/0.006961, allocations: 279 kB / 0.7646 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.00708, allocations: 40.05 kB / 0.7646 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000576/0.007656, allocations: 242.1 kB / 0.7648 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.007775, allocations: 68.48 kB / 0.7649 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.0078, allocations: 12.72 kB / 0.7649 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.007918, allocations: 51.92 kB / 0.765 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.948e-05/0.007998, allocations: 100.4 kB / 0.7651 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.251e-05/0.00806, allocations: 75.59 kB / 0.7651 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003572/0.008417, allocations: 264.6 kB / 0.7654 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.00842, allocations: 0 / 0.7654 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.292e-06/0.008421, allocations: 7.875 kB / 0.7654 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.008428, allocations: 0 / 0.7654 GB, free: 1.027 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.0006099/0.009038, allocations: 0.6042 MB / 0.766 GB, free: 408 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.00907, allocations: 12.03 kB / 0.766 GB, free: 396 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.1e-05/0.009121, allocations: 34.05 kB / 0.766 GB, free: 364 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.009411, allocations: 321.8 kB / 0.7663 GB, free: 16 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.00943, allocations: 4.375 kB / 0.7663 GB, free: 12 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.009454, allocations: 14.09 kB / 0.7664 GB, free: 0 / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.009598, allocations: 103.4 kB / 0.7664 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.009607, allocations: 11.88 kB / 0.7665 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.009615, allocations: 4 kB / 0.7665 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.009621, allocations: 2.75 kB / 0.7665 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.837e-05/0.009669, allocations: 19.98 kB / 0.7665 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003413/0.01001, allocations: 261.6 kB / 0.7667 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.01012, allocations: 97.28 kB / 0.7668 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.19e-05/0.01014, allocations: 14.8 kB / 0.7668 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.01015, allocations: 7.938 kB / 0.7669 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001008/0.01025, allocations: 107.8 kB / 0.767 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.734e-06/0.01026, allocations: 0 / 0.767 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0001462/0.0104, allocations: 89.58 kB / 0.767 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.01043, allocations: 56.34 kB / 0.7671 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/0.01066, allocations: 419.2 kB / 0.7675 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.01068, allocations: 26.42 kB / 0.7675 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.066e-05/0.01075, allocations: 153.4 kB / 0.7677 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.01077, allocations: 28.3 kB / 0.7677 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.595e-05/0.01082, allocations: 53.67 kB / 0.7677 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.034e-05/0.01092, allocations: 364.9 kB / 0.7681 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.131e-05/0.01095, allocations: 22.81 kB / 0.7681 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.869e-05/0.011, allocations: 70.12 kB / 0.7682 GB, free: 14 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.76e-05/0.01106, allocations: 69.44 kB / 0.7682 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.01106, allocations: 0.875 kB / 0.7682 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001313/0.0112, allocations: 123.1 kB / 0.7684 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.01121, allocations: 4.5 kB / 0.7684 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.01121, allocations: 3 kB / 0.7684 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.01122, allocations: 4 kB / 0.7684 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.71e-05/0.01132, allocations: 27.98 kB / 0.7684 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.01132, allocations: 3.938 kB / 0.7684 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.721e-05/0.01138, allocations: 19.89 kB / 0.7684 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.0114, allocations: 7.984 kB / 0.7684 GB, free: 13.73 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 8.521e-05/0.01148, allocations: 123 kB / 0.7685 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.01151, allocations: 34.41 kB / 0.7686 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001212/0.01163, allocations: 101.7 kB / 0.7687 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.01163, allocations: 0 / 0.7687 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.01164, allocations: 3.938 kB / 0.7687 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.01164, allocations: 3.938 kB / 0.7687 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.01177, allocations: 157.7 kB / 0.7688 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.01177, allocations: 5.438 kB / 0.7688 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.812e-05/0.01181, allocations: 11.98 kB / 0.7689 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.01181, allocations: 0 / 0.7689 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.01182, allocations: 4 kB / 0.7689 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.01182, allocations: 0.7188 kB / 0.7689 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01182, allocations: 0 / 0.7689 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/0.01196, allocations: 140.1 kB / 0.769 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.285e-05/0.01199, allocations: 43.61 kB / 0.769 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.01201, allocations: 0 / 0.769 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.035e-05/0.01205, allocations: 13.11 kB / 0.769 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.934e-05/0.01208, allocations: 7.984 kB / 0.7691 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.01209, allocations: 8 kB / 0.7691 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001327/0.01222, allocations: 189.4 kB / 0.7692 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01222, allocations: 0 / 0.7692 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001482/0.01237, allocations: 43.94 kB / 0.7693 GB, free: 12.81 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.001142/0.01351, allocations: 0.5257 MB / 0.7698 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001246/0.01364, allocations: 60.77 kB / 0.7699 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.01364, allocations: 4 kB / 0.7699 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.652e-05/0.01368, allocations: 28.78 kB / 0.7699 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/0.01387, allocations: 76.05 kB / 0.77 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007722/0.01464, allocations: 0.617 MB / 0.7706 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.406e-05/0.01471, allocations: 120.3 kB / 0.7707 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.754e-05/0.01477, allocations: 29.38 kB / 0.7707 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.01488, allocations: 100.3 kB / 0.7708 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of SimCode: time 7.82e-07/0.01488, allocations: 0 / 0.7708 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of Templates: time 0.006208/0.02109, allocations: 3.417 MB / 0.7741 GB, free: 8.223 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 -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: 5.017081869766116]