Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007671/0.007671, allocations: 101.6 kB / 15.73 MB, free: 6.453 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.00168/0.00168, allocations: 195.4 kB / 16.67 MB, free: 6.352 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.319/2.319, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 70.62 kB / 0.9504 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2549, allocations: 140.4 MB / 1.087 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003795/0.2588, allocations: 2.249 MB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002252/0.261, allocations: 1.44 MB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001844/0.2613, allocations: 4 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006189/0.2619, allocations: 191.8 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004288/0.2624, allocations: 147.3 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004603/0.2628, allocations: 168.6 kB / 1.092 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004266/0.2633, allocations: 263.1 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.2634, allocations: 52.72 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002066/0.2636, allocations: 119.4 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.2638, allocations: 107.5 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.344e-05/0.2639, allocations: 19.94 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001632/0.264, allocations: 63.91 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.2642, allocations: 87.69 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.2643, allocations: 158.8 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004914/0.2648, allocations: 398 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.016e-05/0.2648, allocations: 0 / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.645e-06/0.2648, allocations: 0 / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.649e-05/0.2649, allocations: 0 / 1.093 GB, free: 12.51 MB / 0.8575 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.001249/0.2661, allocations: 0.719 MB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.2662, allocations: 12.03 kB / 1.094 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.259e-05/0.2662, allocations: 34.75 kB / 1.094 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.837e-05/0.2663, allocations: 56.61 kB / 1.094 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005681/0.2669, allocations: 408.6 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.2669, allocations: 12.12 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.267, allocations: 11.98 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.2672, allocations: 89.66 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.2672, allocations: 3.938 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.2672, allocations: 3.984 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.2672, allocations: 0 / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/0.2674, allocations: 59.86 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008081/0.2682, allocations: 0.4888 MB / 1.095 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003647/0.2686, allocations: 102.7 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.242e-05/0.2687, allocations: 40.84 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.2687, allocations: 4 kB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.2689, allocations: 83.38 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 2.955e-06/0.2689, allocations: 0 / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0004074/0.2693, allocations: 181.2 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.2694, allocations: 55.34 kB / 1.095 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005251/0.2699, allocations: 0.5032 MB / 1.096 GB, free: 9.457 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.2699, allocations: 33.7 kB / 1.096 GB, free: 9.418 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.2701, allocations: 224 kB / 1.096 GB, free: 9.195 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.2702, allocations: 27.75 kB / 1.096 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.781e-05/0.2702, allocations: 53.62 kB / 1.096 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.2704, allocations: 354.8 kB / 1.096 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.2705, allocations: 55.97 kB / 1.096 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.2707, allocations: 75.67 kB / 1.096 GB, free: 8.617 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.2709, allocations: 101.1 kB / 1.096 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.2709, allocations: 3.938 kB / 1.096 GB, free: 8.512 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003492/0.2712, allocations: 209.2 kB / 1.097 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.2712, allocations: 5.719 kB / 1.097 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.2713, allocations: 0 / 1.097 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.2713, allocations: 0 / 1.097 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.2715, allocations: 51.97 kB / 1.097 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.2715, allocations: 0 / 1.097 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.2716, allocations: 11.98 kB / 1.097 GB, free: 8.234 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.633e-05/0.2717, allocations: 8 kB / 1.097 GB, free: 8.227 MB / 0.8575 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.0002197/0.2719, allocations: 185.7 kB / 1.097 GB, free: 8.035 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.407e-05/0.2719, allocations: 47.67 kB / 1.097 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.864e-05/0.272, allocations: 51.84 kB / 1.097 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.272, allocations: 0 / 1.097 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.272, allocations: 8 kB / 1.097 GB, free: 7.93 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.2721, allocations: 4 kB / 1.097 GB, free: 7.926 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/0.2723, allocations: 325.3 kB / 1.097 GB, free: 7.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2723, allocations: 0 / 1.097 GB, free: 7.559 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.635e-05/0.2724, allocations: 8 kB / 1.097 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2724, allocations: 0 / 1.097 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.2724, allocations: 4 kB / 1.097 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2725, allocations: 0 / 1.097 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2725, allocations: 3.984 kB / 1.097 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003627/0.2728, allocations: 220.6 kB / 1.098 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.772e-05/0.2729, allocations: 116.9 kB / 1.098 GB, free: 7.176 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.288e-05/0.273, allocations: 3.984 kB / 1.098 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.2731, allocations: 4 kB / 1.098 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.073e-05/0.2732, allocations: 11.98 kB / 1.098 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.2732, allocations: 8.078 kB / 1.098 GB, free: 7.148 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003685/0.2735, allocations: 358.8 kB / 1.098 GB, free: 6.801 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2736, allocations: 0 / 1.098 GB, free: 6.801 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003306/0.2739, allocations: 55.95 kB / 1.098 GB, free: 6.746 MB / 0.8575 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.001566/0.2755, allocations: 1.069 MB / 1.099 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003363/0.2758, allocations: 115.8 kB / 1.099 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.2758, allocations: 8.062 kB / 1.099 GB, free: 5.688 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.738e-05/0.2759, allocations: 31.98 kB / 1.099 GB, free: 5.656 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004154/0.2764, allocations: 73.8 kB / 1.099 GB, free: 5.59 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003738/0.2801, allocations: 3.129 MB / 1.102 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005647/0.2807, allocations: 0.826 MB / 1.103 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002053/0.2809, allocations: 37.92 kB / 1.103 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002658/0.2812, allocations: 123.4 kB / 1.103 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of SimCode: time 1.342e-06/0.2812, allocations: 0 / 1.103 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03619/0.3174, allocations: 7.69 MB / 1.111 GB, free: 9.777 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.972/8.29, allocations: 7.891 kB / 1.111 GB, free: 9.77 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches