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.001393/0.001393, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001555/0.001555, allocations: 165 kB / 23.82 MB, free: 0.7422 MB / 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.9544/0.9544, allocations: 177.1 MB / 204.2 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.888/1.888, allocations: 377.8 MB / 0.6236 GB, free: 8.57 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 2.063e-06/2.063e-06, allocations: 0 / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.285e-05/3.491e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004177/0.004212, allocations: 2.307 MB / 0.8138 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002522/0.006733, allocations: 1.568 MB / 0.8153 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.006874, allocations: 4 kB / 0.8153 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005604/0.007434, allocations: 172.3 kB / 0.8155 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003716/0.007806, allocations: 183.5 kB / 0.8157 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.008044, allocations: 141.2 kB / 0.8158 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002707/0.008315, allocations: 286.9 kB / 0.8161 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.008447, allocations: 40.91 kB / 0.8161 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.008592, allocations: 147.6 kB / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.008717, allocations: 98.48 kB / 0.8164 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.689e-05/0.008743, allocations: 12 kB / 0.8164 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.00885, allocations: 59.91 kB / 0.8164 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.058e-05/0.00894, allocations: 99.61 kB / 0.8165 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.566e-05/0.009016, allocations: 75.66 kB / 0.8166 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003124/0.009328, allocations: 270.8 kB / 0.8169 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.009334, allocations: 4 kB / 0.8169 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.102e-06/0.009335, allocations: 5.531 kB / 0.8169 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.009341, allocations: 0 / 0.8169 GB, free: 12.3 MB / 0.7761 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.0008521/0.01019, allocations: 0.7668 MB / 0.8176 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.01023, allocations: 8.594 kB / 0.8176 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.229e-05/0.01031, allocations: 61.17 kB / 0.8177 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000373/0.01069, allocations: 336 kB / 0.818 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.01071, allocations: 12.92 kB / 0.818 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/0.01074, allocations: 8.375 kB / 0.818 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.01092, allocations: 117.7 kB / 0.8181 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.01093, allocations: 0 / 0.8181 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.01094, allocations: 0 / 0.8181 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.01095, allocations: 6.562 kB / 0.8181 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.736e-05/0.01103, allocations: 27.97 kB / 0.8182 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000549/0.01158, allocations: 0.4954 MB / 0.8186 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.01172, allocations: 67.2 kB / 0.8187 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.003e-05/0.01176, allocations: 24.16 kB / 0.8187 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.01178, allocations: 4.688 kB / 0.8187 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001391/0.01192, allocations: 106.7 kB / 0.8188 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.01192, allocations: 1.062 kB / 0.8188 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0002553/0.01218, allocations: 145.3 kB / 0.819 GB, free: 9.98 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002436/0.01242, allocations: 56.5 kB / 0.819 GB, free: 9.914 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004331/0.01285, allocations: 0.5378 MB / 0.8196 GB, free: 9.359 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.01288, allocations: 29.7 kB / 0.8196 GB, free: 9.324 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.01305, allocations: 295.6 kB / 0.8199 GB, free: 9.031 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.541e-05/0.01308, allocations: 31.89 kB / 0.8199 GB, free: 9 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.891e-05/0.01315, allocations: 61.5 kB / 0.82 GB, free: 8.934 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.01332, allocations: 0.5469 MB / 0.8205 GB, free: 8.375 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.673e-05/0.01338, allocations: 27.98 kB / 0.8205 GB, free: 8.348 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.626e-05/0.01347, allocations: 84.67 kB / 0.8206 GB, free: 8.246 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.01357, allocations: 73.42 kB / 0.8207 GB, free: 8.168 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.01357, allocations: 1.469 kB / 0.8207 GB, free: 8.168 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002296/0.0138, allocations: 175 kB / 0.8208 GB, free: 7.992 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.01382, allocations: 8 kB / 0.8208 GB, free: 7.984 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.01383, allocations: 4.875 kB / 0.8208 GB, free: 7.98 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.56e-05/0.01385, allocations: 0 / 0.8208 GB, free: 7.98 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.01401, allocations: 37.09 kB / 0.8209 GB, free: 7.945 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.01402, allocations: 7.922 kB / 0.8209 GB, free: 7.938 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.168e-05/0.01409, allocations: 19.95 kB / 0.8209 GB, free: 7.918 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.805e-05/0.01412, allocations: 9.125 kB / 0.8209 GB, free: 7.91 MB / 0.7761 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.000144/0.01426, allocations: 172.5 kB / 0.8211 GB, free: 7.73 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.153e-05/0.01432, allocations: 52.72 kB / 0.8211 GB, free: 7.68 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002843/0.0146, allocations: 129.6 kB / 0.8213 GB, free: 7.547 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.01461, allocations: 4.719 kB / 0.8213 GB, free: 7.543 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.01461, allocations: 0 / 0.8213 GB, free: 7.543 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.01462, allocations: 5.828 kB / 0.8213 GB, free: 7.539 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002742/0.01489, allocations: 296.5 kB / 0.8216 GB, free: 7.215 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.0149, allocations: 0 / 0.8216 GB, free: 7.215 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.942e-05/0.01496, allocations: 11.98 kB / 0.8216 GB, free: 7.203 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.01496, allocations: 7.938 kB / 0.8216 GB, free: 7.195 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.01498, allocations: 5.344 kB / 0.8216 GB, free: 7.191 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.01498, allocations: 7.875 kB / 0.8216 GB, free: 7.184 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.01498, allocations: 0 / 0.8216 GB, free: 7.184 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/0.01524, allocations: 188.1 kB / 0.8218 GB, free: 6.977 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.12e-05/0.01528, allocations: 36.77 kB / 0.8218 GB, free: 6.941 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.01531, allocations: 8 kB / 0.8218 GB, free: 6.934 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.205e-05/0.01536, allocations: 12.58 kB / 0.8218 GB, free: 6.922 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.818e-05/0.01542, allocations: 7.984 kB / 0.8218 GB, free: 6.914 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.01543, allocations: 12.7 kB / 0.8218 GB, free: 6.902 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002469/0.01568, allocations: 330.8 kB / 0.8222 GB, free: 6.582 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01568, allocations: 3.719 kB / 0.8222 GB, free: 6.582 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002234/0.0159, allocations: 47.94 kB / 0.8222 GB, free: 6.535 MB / 0.7761 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.001083/0.01698, allocations: 408.6 kB / 0.8226 GB, free: 6.281 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001746/0.01716, allocations: 81.23 kB / 0.8227 GB, free: 6.199 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01716, allocations: 0 / 0.8227 GB, free: 6.199 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.439e-05/0.01721, allocations: 39.61 kB / 0.8227 GB, free: 6.156 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.0175, allocations: 74.75 kB / 0.8228 GB, free: 6.086 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009414/0.01844, allocations: 0.6132 MB / 0.8234 GB, free: 5.441 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.187e-05/0.01851, allocations: 124.1 kB / 0.8235 GB, free: 5.301 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.066e-05/0.01858, allocations: 37.92 kB / 0.8235 GB, free: 5.266 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.621e-05/0.01864, allocations: 28.48 kB / 0.8236 GB, free: 5.238 MB / 0.7761 GB Notification: Performance of SimCode: time 6.91e-07/0.01864, allocations: 0 / 0.8236 GB, free: 5.238 MB / 0.7761 GB Notification: Performance of Templates: time 0.006638/0.02528, allocations: 3.178 MB / 0.8267 GB, free: 2.125 MB / 0.7761 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.356129809748381]