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.001148/0.001148, allocations: 108 kB / 15.6 MB, free: 132 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.001156/0.001156, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.301/1.301, allocations: 222.9 MB / 240.2 MB, free: 4.43 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.305/2.305, allocations: 390.3 MB / 0.6647 GB, free: 480 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 64.05 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5401/0.5414, allocations: 140.4 MB / 0.9497 GB, free: 9.391 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.002921/0.5444, allocations: 2.255 MB / 0.9519 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001597/0.546, allocations: 1.442 MB / 0.9533 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.5461, allocations: 2.5 kB / 0.9533 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004684/0.5466, allocations: 188.8 kB / 0.9535 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002734/0.5468, allocations: 142 kB / 0.9536 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.5472, allocations: 161.7 kB / 0.9538 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.5474, allocations: 276.8 kB / 0.9541 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.5476, allocations: 50.38 kB / 0.9541 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.5477, allocations: 106.6 kB / 0.9542 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.5478, allocations: 111 kB / 0.9543 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.64e-05/0.5479, allocations: 13.94 kB / 0.9543 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.548, allocations: 57.12 kB / 0.9544 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.456e-05/0.5481, allocations: 99.53 kB / 0.9545 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.74e-05/0.5482, allocations: 145.8 kB / 0.9546 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003045/0.5485, allocations: 393 kB / 0.955 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.5485, allocations: 0 / 0.955 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.041e-06/0.5485, allocations: 0 / 0.955 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.5485, allocations: 0 / 0.955 GB, free: 5.348 MB / 0.7169 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.0007675/0.5493, allocations: 0.6977 MB / 0.9557 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.5493, allocations: 9.531 kB / 0.9557 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.165e-05/0.5494, allocations: 46.64 kB / 0.9557 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.933e-05/0.5494, allocations: 44.78 kB / 0.9558 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000361/0.5498, allocations: 412.1 kB / 0.9562 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.5498, allocations: 10.89 kB / 0.9562 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.5499, allocations: 10.34 kB / 0.9562 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.55, allocations: 95.14 kB / 0.9563 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.5501, allocations: 3.938 kB / 0.9563 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.5501, allocations: 5.938 kB / 0.9563 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.5501, allocations: 1.969 kB / 0.9563 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.5502, allocations: 49.59 kB / 0.9563 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006061/0.5508, allocations: 497.8 kB / 0.9568 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003105/0.5511, allocations: 103.8 kB / 0.9569 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.138e-05/0.5512, allocations: 39.38 kB / 0.9569 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.5513, allocations: 2.281 kB / 0.9569 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001483/0.5514, allocations: 97.39 kB / 0.957 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.492e-06/0.5514, allocations: 0 / 0.957 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0003283/0.5517, allocations: 181.9 kB / 0.9572 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.5518, allocations: 56.77 kB / 0.9573 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000422/0.5522, allocations: 0.4903 MB / 0.9577 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.5522, allocations: 31.02 kB / 0.9578 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.5524, allocations: 228.8 kB / 0.958 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.5524, allocations: 29.27 kB / 0.958 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.635e-05/0.5525, allocations: 47.98 kB / 0.9581 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.166e-05/0.5525, allocations: 360.2 kB / 0.9584 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.5526, allocations: 44.48 kB / 0.9585 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.5527, allocations: 74.14 kB / 0.9585 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.5529, allocations: 113.1 kB / 0.9586 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.5529, allocations: 5.062 kB / 0.9586 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003068/0.5533, allocations: 199.2 kB / 0.9588 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.5533, allocations: 5.094 kB / 0.9588 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.5533, allocations: 0.7812 kB / 0.9588 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.5533, allocations: 5.062 kB / 0.9588 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.5535, allocations: 32.73 kB / 0.9589 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.5535, allocations: 6.047 kB / 0.9589 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.5536, allocations: 26.42 kB / 0.9589 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.5536, allocations: 6.938 kB / 0.9589 GB, free: 2.16 MB / 0.7169 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.0001359/0.5538, allocations: 188.4 kB / 0.9591 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.634e-05/0.5538, allocations: 51.39 kB / 0.9591 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.98e-05/0.5539, allocations: 43.77 kB / 0.9592 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.5539, allocations: 1.219 kB / 0.9592 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.5539, allocations: 1.094 kB / 0.9592 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.5539, allocations: 0 / 0.9592 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.5541, allocations: 324 kB / 0.9595 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.5542, allocations: 4 kB / 0.9595 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.267e-05/0.5542, allocations: 8.219 kB / 0.9595 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.5542, allocations: 3.984 kB / 0.9595 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.5542, allocations: 2.219 kB / 0.9595 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.5542, allocations: 0 / 0.9595 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5543, allocations: 1.156 kB / 0.9595 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003126/0.5546, allocations: 228.6 kB / 0.9597 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.165e-05/0.5546, allocations: 118 kB / 0.9598 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.03e-05/0.5547, allocations: 5.906 kB / 0.9598 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.392e-05/0.5548, allocations: 9.078 kB / 0.9599 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.5548, allocations: 20.88 kB / 0.9599 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.5548, allocations: 2.438 kB / 0.9599 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003061/0.5552, allocations: 357 kB / 0.9602 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5552, allocations: 0 / 0.9602 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002634/0.5554, allocations: 45.84 kB / 0.9603 GB, free: 1.113 MB / 0.7169 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.001236/0.5567, allocations: 1.062 MB / 0.9613 GB, free: 336 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002544/0.5569, allocations: 115.5 kB / 0.9614 GB, free: 284 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.557, allocations: 0 / 0.9614 GB, free: 284 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.804e-05/0.557, allocations: 43.11 kB / 0.9614 GB, free: 264 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.5574, allocations: 77.78 kB / 0.9615 GB, free: 220 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003509/0.561, allocations: 3.177 MB / 0.9646 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.5613, allocations: 0.8236 MB / 0.9654 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001249/0.5615, allocations: 37.69 kB / 0.9655 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/0.5616, allocations: 126.3 kB / 0.9656 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.5616, allocations: 1.125 kB / 0.9656 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02524/0.5869, allocations: 7.573 MB / 0.973 GB, free: 9.27 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.288/7.875, allocations: 18.61 kB / 0.973 GB, free: 9.258 MB / 0.7325 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