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.001546/0.001546, allocations: 87.58 kB / 20.45 MB, free: 4.109 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.00156/0.00156, 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.9207/0.9207, allocations: 177.1 MB / 204.2 MB, free: 5.613 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.809/1.809, allocations: 377.8 MB / 0.6236 GB, free: 8.574 MB / 0.5886 GB " [Timeout remaining time 178] 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.144e-06/2.144e-06, allocations: 0 / 0.8116 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.274e-05/2.489e-05, allocations: 3.969 kB / 0.8116 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003085/0.00311, allocations: 2.313 MB / 0.8138 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001892/0.005002, allocations: 1.564 MB / 0.8153 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/0.005165, allocations: 4 kB / 0.8154 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005364/0.005701, allocations: 175.4 kB / 0.8155 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004149/0.006116, allocations: 183.9 kB / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002905/0.006406, allocations: 140.3 kB / 0.8158 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000318/0.006724, allocations: 286.9 kB / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.006853, allocations: 33.72 kB / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000605/0.007458, allocations: 253.8 kB / 0.8164 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.007577, allocations: 69.11 kB / 0.8164 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.77e-05/0.007604, allocations: 12 kB / 0.8165 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.007719, allocations: 55.91 kB / 0.8165 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.035e-05/0.007799, allocations: 96.78 kB / 0.8166 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.894e-05/0.007868, allocations: 71.66 kB / 0.8167 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003529/0.008221, allocations: 266.8 kB / 0.8169 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.008225, allocations: 0.7188 kB / 0.8169 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.342e-06/0.008226, allocations: 0 / 0.8169 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.008232, allocations: 0.6562 kB / 0.8169 GB, free: 12.25 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.0007467/0.008978, allocations: 0.7636 MB / 0.8177 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.009012, allocations: 9.312 kB / 0.8177 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.405e-05/0.009096, allocations: 56.61 kB / 0.8177 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.009408, allocations: 335.4 kB / 0.8181 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.009428, allocations: 5.656 kB / 0.8181 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.009451, allocations: 8.375 kB / 0.8181 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.009622, allocations: 120.5 kB / 0.8182 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.00963, allocations: 4.562 kB / 0.8182 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.009643, allocations: 0 / 0.8182 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.009654, allocations: 8.828 kB / 0.8182 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.204e-05/0.009736, allocations: 27.97 kB / 0.8182 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005651/0.0103, allocations: 0.4892 MB / 0.8187 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.01044, allocations: 67.2 kB / 0.8188 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.008e-05/0.01048, allocations: 24.62 kB / 0.8188 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.0105, allocations: 3.984 kB / 0.8188 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001295/0.01063, allocations: 106.1 kB / 0.8189 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.823e-06/0.01063, allocations: 0 / 0.8189 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0002494/0.01088, allocations: 141.3 kB / 0.819 GB, free: 9.945 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.01091, allocations: 59.34 kB / 0.8191 GB, free: 9.875 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003688/0.01128, allocations: 0.5378 MB / 0.8196 GB, free: 9.32 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.0113, allocations: 29.7 kB / 0.8196 GB, free: 9.285 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.01145, allocations: 294.8 kB / 0.8199 GB, free: 8.992 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.01148, allocations: 31.88 kB / 0.8199 GB, free: 8.961 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-05/0.01154, allocations: 55.86 kB / 0.82 GB, free: 8.898 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.0117, allocations: 0.5566 MB / 0.8205 GB, free: 8.332 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.749e-05/0.01174, allocations: 23.98 kB / 0.8206 GB, free: 8.309 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.364e-05/0.01182, allocations: 86.61 kB / 0.8206 GB, free: 8.207 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.01193, allocations: 75.3 kB / 0.8207 GB, free: 8.125 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.01193, allocations: 0.9062 kB / 0.8207 GB, free: 8.125 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001932/0.01212, allocations: 175.5 kB / 0.8209 GB, free: 7.949 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.01214, allocations: 8.844 kB / 0.8209 GB, free: 7.941 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.01214, allocations: 0 / 0.8209 GB, free: 7.941 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.01215, allocations: 8.594 kB / 0.8209 GB, free: 7.934 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.01227, allocations: 31.98 kB / 0.8209 GB, free: 7.902 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.01228, allocations: 6.219 kB / 0.8209 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.468e-05/0.01234, allocations: 15.88 kB / 0.821 GB, free: 7.883 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.01236, allocations: 12 kB / 0.821 GB, free: 7.871 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 8.995e-05/0.01245, allocations: 164.5 kB / 0.8211 GB, free: 7.699 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.424e-05/0.01248, allocations: 50.84 kB / 0.8212 GB, free: 7.652 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001716/0.01266, allocations: 133.7 kB / 0.8213 GB, free: 7.516 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.01266, allocations: 3.938 kB / 0.8213 GB, free: 7.512 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.01266, allocations: 0 / 0.8213 GB, free: 7.512 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.01267, allocations: 0 / 0.8213 GB, free: 7.512 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002284/0.01289, allocations: 296.5 kB / 0.8216 GB, free: 7.188 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.0129, allocations: 3.984 kB / 0.8216 GB, free: 7.184 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.966e-05/0.01295, allocations: 12 kB / 0.8216 GB, free: 7.172 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.01295, allocations: 0.9375 kB / 0.8216 GB, free: 7.172 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.01296, allocations: 0 / 0.8216 GB, free: 7.172 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.01296, allocations: 0 / 0.8216 GB, free: 7.172 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.01296, allocations: 5.062 kB / 0.8216 GB, free: 7.168 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.01316, allocations: 192 kB / 0.8218 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.337e-05/0.01319, allocations: 44.73 kB / 0.8218 GB, free: 6.914 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.01322, allocations: 3.938 kB / 0.8218 GB, free: 6.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.494e-05/0.01326, allocations: 8 kB / 0.8218 GB, free: 6.902 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.01331, allocations: 17.03 kB / 0.8219 GB, free: 6.887 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.01332, allocations: 7.938 kB / 0.8219 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000208/0.01352, allocations: 330.8 kB / 0.8222 GB, free: 6.559 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01352, allocations: 1.25 kB / 0.8222 GB, free: 6.559 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001827/0.01371, allocations: 59.88 kB / 0.8222 GB, free: 6.5 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.0008449/0.01455, allocations: 399.5 kB / 0.8226 GB, free: 6.262 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001574/0.01471, allocations: 83.67 kB / 0.8227 GB, free: 6.176 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.01471, allocations: 0 / 0.8227 GB, free: 6.176 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.937e-05/0.01476, allocations: 43.59 kB / 0.8227 GB, free: 6.129 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.01502, allocations: 68.66 kB / 0.8228 GB, free: 6.062 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008164/0.01583, allocations: 0.6132 MB / 0.8234 GB, free: 5.418 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.01597, allocations: 120.1 kB / 0.8235 GB, free: 5.281 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.659e-05/0.01605, allocations: 37.92 kB / 0.8236 GB, free: 5.246 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.102e-05/0.0161, allocations: 28.5 kB / 0.8236 GB, free: 5.219 MB / 0.7761 GB Notification: Performance of SimCode: time 4.6e-07/0.0161, allocations: 0 / 0.8236 GB, free: 5.219 MB / 0.7761 GB Notification: Performance of Templates: time 0.006413/0.02251, allocations: 3.33 MB / 0.8268 GB, free: 1.953 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.131103556137532]