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.0009695/0.0009695, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001111/0.001111, allocations: 165.1 kB / 24.87 MB, free: 8.895 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.9387/0.9387, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.835/1.835, allocations: 377.9 MB / 0.6247 GB, free: 8.406 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 1.382e-06/1.382e-06, allocations: 3.938 kB / 0.8128 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.042e-05/2.18e-05, allocations: 7.016 kB / 0.8128 GB, free: 1.402 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.002926/0.002948, allocations: 2.282 MB / 0.815 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001707/0.004655, allocations: 1.543 MB / 0.8165 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.00477, allocations: 5.719 kB / 0.8165 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004501/0.00522, allocations: 180.4 kB / 0.8167 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003167/0.005536, allocations: 181.9 kB / 0.8169 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.00574, allocations: 140.1 kB / 0.817 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002492/0.005989, allocations: 284.2 kB / 0.8173 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.006098, allocations: 32.91 kB / 0.8173 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005251/0.006623, allocations: 255 kB / 0.8176 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.511e-05/0.006718, allocations: 63.75 kB / 0.8176 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.00674, allocations: 12 kB / 0.8176 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.474e-05/0.006834, allocations: 61.27 kB / 0.8177 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.421e-05/0.006909, allocations: 91.64 kB / 0.8178 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001915/0.0071, allocations: 75.64 kB / 0.8178 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002906/0.007391, allocations: 260 kB / 0.8181 GB, free: 12 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.007394, allocations: 0 / 0.8181 GB, free: 12 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.206e-06/0.007397, allocations: 4 kB / 0.8181 GB, free: 12 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.007401, allocations: 0 / 0.8181 GB, free: 12 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.000597/0.007998, allocations: 0.772 MB / 0.8189 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.008031, allocations: 8.031 kB / 0.8189 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.818e-05/0.008089, allocations: 53.45 kB / 0.8189 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.008353, allocations: 341.1 kB / 0.8192 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.008369, allocations: 8.375 kB / 0.8192 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.008387, allocations: 4.375 kB / 0.8192 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.008515, allocations: 115.2 kB / 0.8194 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.008522, allocations: 3.938 kB / 0.8194 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.00853, allocations: 0.8125 kB / 0.8194 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.008534, allocations: 7.938 kB / 0.8194 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.261e-05/0.008587, allocations: 26.25 kB / 0.8194 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003809/0.008968, allocations: 419.9 kB / 0.8198 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.142e-05/0.009059, allocations: 63.16 kB / 0.8199 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.524e-05/0.009084, allocations: 29.72 kB / 0.8199 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.009098, allocations: 0 / 0.8199 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001042/0.009202, allocations: 102.7 kB / 0.82 GB, free: 9.938 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 8.32e-07/0.009203, allocations: 0 / 0.82 GB, free: 9.938 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0001889/0.009391, allocations: 133.3 kB / 0.8201 GB, free: 9.801 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.385e-05/0.009415, allocations: 51.91 kB / 0.8202 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003013/0.009717, allocations: 0.5341 MB / 0.8207 GB, free: 9.188 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.009733, allocations: 31.61 kB / 0.8207 GB, free: 9.152 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.009874, allocations: 298.7 kB / 0.821 GB, free: 8.855 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.0099, allocations: 31.88 kB / 0.821 GB, free: 8.824 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-05/0.009957, allocations: 55.33 kB / 0.8211 GB, free: 8.762 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.0101, allocations: 0.5585 MB / 0.8216 GB, free: 8.191 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.108e-05/0.01013, allocations: 24.61 kB / 0.8216 GB, free: 8.168 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.899e-05/0.01019, allocations: 80.72 kB / 0.8217 GB, free: 8.07 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.887e-05/0.01026, allocations: 60 kB / 0.8218 GB, free: 8.004 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.01026, allocations: 4.5 kB / 0.8218 GB, free: 8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001547/0.01042, allocations: 169.6 kB / 0.8219 GB, free: 7.832 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.01043, allocations: 8 kB / 0.822 GB, free: 7.824 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.01043, allocations: 0 / 0.822 GB, free: 7.824 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.316e-06/0.01044, allocations: 0 / 0.822 GB, free: 7.824 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.272e-05/0.01053, allocations: 39.86 kB / 0.822 GB, free: 7.785 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-06/0.01053, allocations: 0 / 0.822 GB, free: 7.785 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.763e-05/0.01059, allocations: 19.88 kB / 0.822 GB, free: 7.766 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.01061, allocations: 8 kB / 0.822 GB, free: 7.758 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.933e-05/0.0107, allocations: 165.5 kB / 0.8222 GB, free: 7.59 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.336e-05/0.01073, allocations: 47.72 kB / 0.8222 GB, free: 7.543 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001469/0.01088, allocations: 129.7 kB / 0.8223 GB, free: 7.41 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.01088, allocations: 0 / 0.8223 GB, free: 7.41 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.01088, allocations: 3.938 kB / 0.8224 GB, free: 7.406 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.01088, allocations: 1 kB / 0.8224 GB, free: 7.406 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.01104, allocations: 217 kB / 0.8226 GB, free: 7.168 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.01104, allocations: 5.062 kB / 0.8226 GB, free: 7.164 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.683e-05/0.01107, allocations: 12 kB / 0.8226 GB, free: 7.152 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.01108, allocations: 7.938 kB / 0.8226 GB, free: 7.145 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.01108, allocations: 5.016 kB / 0.8226 GB, free: 7.141 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.01108, allocations: 0 / 0.8226 GB, free: 7.141 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01109, allocations: 0 / 0.8226 GB, free: 7.141 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001782/0.01126, allocations: 189.1 kB / 0.8228 GB, free: 6.934 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.88e-05/0.01129, allocations: 31.72 kB / 0.8228 GB, free: 6.902 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.01132, allocations: 8 kB / 0.8228 GB, free: 6.895 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.129e-05/0.01136, allocations: 8.875 kB / 0.8228 GB, free: 6.887 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/0.0114, allocations: 11.97 kB / 0.8228 GB, free: 6.875 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.01141, allocations: 1.562 kB / 0.8228 GB, free: 6.875 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002269/0.01163, allocations: 334.6 kB / 0.8231 GB, free: 6.551 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01163, allocations: 0 / 0.8231 GB, free: 6.551 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002561/0.01189, allocations: 47.89 kB / 0.8232 GB, free: 6.504 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.0009605/0.01285, allocations: 404 kB / 0.8236 GB, free: 6.254 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001453/0.013, allocations: 75.91 kB / 0.8237 GB, free: 6.18 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.013, allocations: 0 / 0.8237 GB, free: 6.18 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.232e-05/0.01305, allocations: 39.61 kB / 0.8237 GB, free: 6.137 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.01336, allocations: 60.8 kB / 0.8237 GB, free: 6.078 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009117/0.01428, allocations: 0.6133 MB / 0.8243 GB, free: 5.434 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.213e-05/0.01436, allocations: 120.1 kB / 0.8245 GB, free: 5.297 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.42e-05/0.01444, allocations: 33.92 kB / 0.8245 GB, free: 5.266 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.01458, allocations: 122.2 kB / 0.8246 GB, free: 5.145 MB / 0.7761 GB Notification: Performance of SimCode: time 6.21e-07/0.01458, allocations: 0 / 0.8246 GB, free: 5.145 MB / 0.7761 GB Notification: Performance of Templates: time 0.007379/0.02196, allocations: 3.456 MB / 0.828 GB, free: 1.766 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.114864679984748]