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.001186/0.001186, allocations: 91.69 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 223.3 MB / 240 MB, free: 5.43 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.673/2.673, allocations: 437.7 MB / 0.7117 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003921/0.0003922, allocations: 15.94 kB / 0.8722 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7893/0.7898, allocations: 153.8 MB / 1.022 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.002956/0.7928, allocations: 1.908 MB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002187/0.795, allocations: 1.328 MB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.7951, allocations: 11.94 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005303/0.7956, allocations: 171.3 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002869/0.7959, allocations: 103.5 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003759/0.7963, allocations: 135.6 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003123/0.7967, allocations: 235 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.7968, allocations: 48.72 kB / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.797, allocations: 95.5 kB / 1.026 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.7971, allocations: 91.56 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.598e-05/0.7972, allocations: 4 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.7973, allocations: 47.89 kB / 1.026 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.681e-05/0.7974, allocations: 83.67 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.517e-05/0.7975, allocations: 77.52 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003142/0.7978, allocations: 297.2 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.7978, allocations: 0 / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7978, allocations: 3.938 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.926e-06/0.7979, allocations: 0 / 1.027 GB, free: 11.37 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.0009754/0.7988, allocations: 0.6548 MB / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.7989, allocations: 8.562 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.092e-05/0.799, allocations: 59.28 kB / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005224/0.7995, allocations: 379.1 kB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.7995, allocations: 8 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.209e-05/0.7996, allocations: 11.95 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.7998, allocations: 89.64 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.7998, allocations: 0 / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.834e-05/0.7998, allocations: 4 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.7999, allocations: 0 / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.8, allocations: 55.97 kB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000829/0.8008, allocations: 0.4964 MB / 1.029 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003778/0.8012, allocations: 106.7 kB / 1.029 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.955e-05/0.8013, allocations: 36.84 kB / 1.029 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.8013, allocations: 4 kB / 1.029 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001785/0.8015, allocations: 87.38 kB / 1.029 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.8015, allocations: 0 / 1.029 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0003872/0.8019, allocations: 173 kB / 1.029 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.802, allocations: 55.41 kB / 1.029 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005457/0.8025, allocations: 0.4988 MB / 1.03 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.8026, allocations: 29.7 kB / 1.03 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.8028, allocations: 227.9 kB / 1.03 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.841e-05/0.8028, allocations: 31.69 kB / 1.03 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.76e-05/0.8028, allocations: 0 / 1.03 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.803, allocations: 366.8 kB / 1.03 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.8031, allocations: 48.36 kB / 1.03 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.8032, allocations: 76.03 kB / 1.03 GB, free: 7.68 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.8034, allocations: 48 kB / 1.03 GB, free: 7.633 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.8034, allocations: 0 / 1.03 GB, free: 7.633 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003311/0.8037, allocations: 206.9 kB / 1.031 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.8037, allocations: 12.38 kB / 1.031 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.8037, allocations: 0 / 1.031 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.8038, allocations: 0 / 1.031 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.8039, allocations: 35.97 kB / 1.031 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.804, allocations: 11.94 kB / 1.031 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.8041, allocations: 19.89 kB / 1.031 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.33e-05/0.8041, allocations: 11.98 kB / 1.031 GB, free: 7.336 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 ($whenCondition1,$PRE.mFue_flow.tab.nextTimeEvent,$PRE.assFue.hys.y,assFue.hys.y,mFue_flow.tab.nextTimeEvent,$PRE.mFue_flow.tab.nextTimeEventScaled,mFue_flow.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000217/0.8043, allocations: 191.4 kB / 1.031 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.916e-05/0.8044, allocations: 47.44 kB / 1.031 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.405e-05/0.8045, allocations: 47.91 kB / 1.031 GB, free: 7.047 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.8045, allocations: 0 / 1.031 GB, free: 7.047 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.8045, allocations: 0 / 1.031 GB, free: 7.047 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.8045, allocations: 0 / 1.031 GB, free: 7.047 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003067/0.8048, allocations: 321.4 kB / 1.031 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.8048, allocations: 0 / 1.031 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.266e-05/0.8049, allocations: 8 kB / 1.031 GB, free: 6.676 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.782e-06/0.8049, allocations: 3.984 kB / 1.031 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.8049, allocations: 11.94 kB / 1.031 GB, free: 6.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.805, allocations: 3.938 kB / 1.031 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.805, allocations: 4 kB / 1.031 GB, free: 6.652 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000363/0.8053, allocations: 212.4 kB / 1.031 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.997e-05/0.8054, allocations: 116.6 kB / 1.032 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.88e-05/0.8055, allocations: 3.984 kB / 1.032 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.42e-05/0.8056, allocations: 8.062 kB / 1.032 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.58e-05/0.8056, allocations: 19.97 kB / 1.032 GB, free: 6.262 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.8057, allocations: 4 kB / 1.032 GB, free: 6.258 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003938/0.8061, allocations: 346.8 kB / 1.032 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8061, allocations: 4 kB / 1.032 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002672/0.8063, allocations: 43.94 kB / 1.032 GB, free: 5.875 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001085/0.8074, allocations: 421.7 kB / 1.032 GB, free: 5.613 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002733/0.8077, allocations: 115.9 kB / 1.032 GB, free: 5.5 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8077, allocations: 0 / 1.032 GB, free: 5.5 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.8078, allocations: 39.92 kB / 1.032 GB, free: 5.461 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.8082, allocations: 59.8 kB / 1.033 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.8094, allocations: 0.7789 MB / 1.033 GB, free: 4.598 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004405/0.8098, allocations: 0.8262 MB / 1.034 GB, free: 3.746 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001148/0.8099, allocations: 33.94 kB / 1.034 GB, free: 3.715 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.315e-05/0.81, allocations: 31.42 kB / 1.034 GB, free: 3.684 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.81, allocations: 0 / 1.034 GB, free: 3.684 MB / 0.7794 GB Notification: Performance of Templates: time 0.007217/0.8172, allocations: 2.83 MB / 1.037 GB, free: 0.8867 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/jenkins/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