Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assFue.assMes.u|assFue.mFue_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assFue.assMes.u|assFue.mFue_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001724/0.001724, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002128/0.002128, allocations: 199.1 kB / 16.79 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.615/2.615, allocations: 437 MB / 0.7106 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 63.91 kB / 0.8692 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6669/0.6683, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004257/0.6726, allocations: 2.328 MB / 1.02 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002426/0.6751, allocations: 1.413 MB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002377/0.6754, allocations: 4 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0007028/0.6761, allocations: 171.3 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004663/0.6766, allocations: 127.4 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005081/0.6771, allocations: 155 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004017/0.6775, allocations: 251.1 kB / 1.022 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.6777, allocations: 50.69 kB / 1.022 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002054/0.6779, allocations: 99.5 kB / 1.022 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001919/0.6781, allocations: 111.4 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.558e-05/0.6782, allocations: 4 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001768/0.6784, allocations: 51.91 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.6785, allocations: 95.66 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.6787, allocations: 134.8 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003575/0.6791, allocations: 299.4 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.6791, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.12e-07/0.6791, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.6791, allocations: 4 kB / 1.022 GB, free: 13.5 MB / 0.7794 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.001139/0.6802, allocations: 0.6958 MB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.6803, allocations: 11.97 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.6804, allocations: 48.38 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000544/0.6809, allocations: 408 kB / 1.024 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.681, allocations: 8.375 kB / 1.024 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.1e-05/0.681, allocations: 15.94 kB / 1.024 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002239/0.6812, allocations: 93.64 kB / 1.024 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.6813, allocations: 0 / 1.024 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.6813, allocations: 0 / 1.024 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.6813, allocations: 0 / 1.024 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.6814, allocations: 55.91 kB / 1.024 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008474/0.6823, allocations: 0.4925 MB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000395/0.6827, allocations: 110.6 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.364e-05/0.6828, allocations: 32.84 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.6828, allocations: 8 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002049/0.683, allocations: 87.31 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.884e-06/0.6831, allocations: 3.938 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.000432/0.6835, allocations: 181 kB / 1.025 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.6836, allocations: 55.41 kB / 1.025 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005473/0.6841, allocations: 0.4911 MB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.6841, allocations: 29.7 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.6843, allocations: 236 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.351e-05/0.6844, allocations: 27.69 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.842e-05/0.6845, allocations: 41.7 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.6846, allocations: 362.8 kB / 1.026 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.6847, allocations: 47.98 kB / 1.026 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.6849, allocations: 79.28 kB / 1.026 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001965/0.6851, allocations: 99.56 kB / 1.026 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.6851, allocations: 4 kB / 1.026 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003619/0.6855, allocations: 209 kB / 1.026 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.6855, allocations: 4 kB / 1.026 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.6855, allocations: 0 / 1.026 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.6855, allocations: 4 kB / 1.026 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/0.6857, allocations: 43.86 kB / 1.026 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.6857, allocations: 0 / 1.026 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.6859, allocations: 23.86 kB / 1.026 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-05/0.6859, allocations: 12 kB / 1.026 GB, free: 9.281 MB / 0.7794 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.000203/0.6861, allocations: 190.2 kB / 1.026 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.841e-05/0.6862, allocations: 43.44 kB / 1.027 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.624e-05/0.6863, allocations: 43.92 kB / 1.027 GB, free: 9 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.6863, allocations: 4 kB / 1.027 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.6863, allocations: 0 / 1.027 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.585e-05/0.6863, allocations: 3.984 kB / 1.027 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003093/0.6866, allocations: 317.5 kB / 1.027 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.6867, allocations: 0 / 1.027 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.936e-05/0.6867, allocations: 11.98 kB / 1.027 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.6867, allocations: 4 kB / 1.027 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.6868, allocations: 0 / 1.027 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.6868, allocations: 0 / 1.027 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6868, allocations: 384 / 1.027 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003928/0.6872, allocations: 220.3 kB / 1.027 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.274e-05/0.6873, allocations: 120.6 kB / 1.027 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.033e-05/0.6873, allocations: 4 kB / 1.027 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.119e-05/0.6874, allocations: 7.984 kB / 1.027 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.55e-05/0.6875, allocations: 15.98 kB / 1.027 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.6875, allocations: 0 / 1.027 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003788/0.6879, allocations: 354.8 kB / 1.028 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6879, allocations: 0 / 1.028 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002845/0.6882, allocations: 51.89 kB / 1.028 GB, free: 7.824 MB / 0.7794 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 (mFue_flow.tab.nextTimeEventScaled,assFue.hys.y,mFue_flow.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001039/0.6892, allocations: 432.5 kB / 1.028 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002978/0.6895, allocations: 107.9 kB / 1.028 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.6895, allocations: 4 kB / 1.028 GB, free: 7.445 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.6897, allocations: 35.92 kB / 1.028 GB, free: 7.41 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004395/0.6901, allocations: 77.12 kB / 1.028 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.6914, allocations: 0.8242 MB / 1.029 GB, free: 6.488 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003995/0.6919, allocations: 0.8239 MB / 1.03 GB, free: 5.641 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.568e-05/0.6919, allocations: 31.42 kB / 1.03 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of SimCode: time 3e-07/0.6919, allocations: 0 / 1.03 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of Templates: time 0.007764/0.6997, allocations: 4.576 MB / 1.034 GB, free: 1.066 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches