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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001177/0.001177, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008676/0.008676, allocations: 170 kB / 16.26 MB, free: 6.68 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.307/1.307, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.152/2.152, allocations: 390.9 MB / 0.6664 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004283/0.0004285, allocations: 8 kB / 0.8161 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6737/0.6742, allocations: 142.4 MB / 0.9552 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.002656/0.6769, allocations: 1.95 MB / 0.9571 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002221/0.6792, allocations: 1.383 MB / 0.9584 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002369/0.6794, allocations: 6.906 kB / 0.9584 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006801/0.6801, allocations: 188.7 kB / 0.9586 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004489/0.6806, allocations: 119.4 kB / 0.9587 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005911/0.6812, allocations: 147.3 kB / 0.9589 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004605/0.6817, allocations: 262.2 kB / 0.9591 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001938/0.6819, allocations: 53.38 kB / 0.9592 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002068/0.6821, allocations: 90 kB / 0.9593 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.6823, allocations: 103.4 kB / 0.9594 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.062e-05/0.6824, allocations: 3.969 kB / 0.9594 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002062/0.6826, allocations: 50.16 kB / 0.9594 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001348/0.6827, allocations: 89.75 kB / 0.9595 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001511/0.6829, allocations: 163.4 kB / 0.9596 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000562/0.6834, allocations: 374.6 kB / 0.96 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.6835, allocations: 1.219 kB / 0.96 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.164e-06/0.6835, allocations: 0 / 0.96 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.676e-05/0.6835, allocations: 0 / 0.96 GB, free: 4.031 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.001184/0.6847, allocations: 0.6389 MB / 0.9606 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.6847, allocations: 13.47 kB / 0.9606 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.153e-05/0.6848, allocations: 40.72 kB / 0.9607 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.396e-05/0.6849, allocations: 50.05 kB / 0.9607 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004964/0.6854, allocations: 416.7 kB / 0.9611 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.6854, allocations: 12.25 kB / 0.9611 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/0.6855, allocations: 5.5 kB / 0.9611 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.6857, allocations: 94.52 kB / 0.9612 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.6857, allocations: 1.375 kB / 0.9612 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.6857, allocations: 0 / 0.9612 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.13e-05/0.6857, allocations: 6.75 kB / 0.9612 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.6859, allocations: 60.12 kB / 0.9613 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007626/0.6867, allocations: 498.2 kB / 0.9618 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003631/0.687, allocations: 108.6 kB / 0.9619 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.444e-05/0.6871, allocations: 36.69 kB / 0.9619 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.141e-05/0.6872, allocations: 4.938 kB / 0.9619 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001939/0.6874, allocations: 94.02 kB / 0.962 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.933e-06/0.6874, allocations: 3.938 kB / 0.962 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0004219/0.6878, allocations: 170.5 kB / 0.9622 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.6878, allocations: 56.47 kB / 0.9622 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006058/0.6885, allocations: 0.4981 MB / 0.9627 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.6885, allocations: 26.83 kB / 0.9627 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.6886, allocations: 233.6 kB / 0.963 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.6887, allocations: 27.58 kB / 0.963 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.568e-05/0.6887, allocations: 25.69 kB / 0.963 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.267e-05/0.6888, allocations: 359.8 kB / 0.9634 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.6889, allocations: 48.84 kB / 0.9634 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.6891, allocations: 75.42 kB / 0.9635 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.6893, allocations: 99.59 kB / 0.9636 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.6893, allocations: 5.125 kB / 0.9636 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003405/0.6896, allocations: 204.6 kB / 0.9638 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.6896, allocations: 5.25 kB / 0.9638 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.6896, allocations: 0.9688 kB / 0.9638 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.6897, allocations: 1 kB / 0.9638 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/0.6899, allocations: 45.09 kB / 0.9638 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.6899, allocations: 1.031 kB / 0.9638 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.69, allocations: 18.81 kB / 0.9638 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.22e-05/0.69, allocations: 17.77 kB / 0.9639 GB, free: 0.8906 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.0001516/0.6902, allocations: 190.6 kB / 0.964 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.101e-05/0.6903, allocations: 47.84 kB / 0.9641 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.281e-05/0.6903, allocations: 47.59 kB / 0.9641 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.6903, allocations: 0.9688 kB / 0.9641 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.6904, allocations: 0 / 0.9641 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.6904, allocations: 1.969 kB / 0.9641 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002571/0.6906, allocations: 319.5 kB / 0.9644 GB, free: 388 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.6906, allocations: 7.984 kB / 0.9644 GB, free: 380 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.966e-05/0.6907, allocations: 7.344 kB / 0.9644 GB, free: 380 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-06/0.6907, allocations: 5.25 kB / 0.9645 GB, free: 376 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.6907, allocations: 1.438 kB / 0.9645 GB, free: 376 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.6907, allocations: 4 kB / 0.9645 GB, free: 372 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6907, allocations: 0 / 0.9645 GB, free: 372 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003317/0.6911, allocations: 221 kB / 0.9647 GB, free: 216 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.237e-05/0.6912, allocations: 114.7 kB / 0.9648 GB, free: 92 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.884e-05/0.6912, allocations: 10.48 kB / 0.9648 GB, free: 84 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.132e-05/0.6913, allocations: 9.938 kB / 0.9648 GB, free: 80 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.6914, allocations: 8.328 kB / 0.9648 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.6914, allocations: 7.797 kB / 0.9648 GB, free: 72 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003959/0.6918, allocations: 356.3 kB / 0.9652 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6918, allocations: 1.25 kB / 0.9652 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002781/0.6921, allocations: 49.03 kB / 0.9652 GB, free: 15.85 MB / 0.7325 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.001539/0.6936, allocations: 1.064 MB / 0.9662 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002927/0.6939, allocations: 113.9 kB / 0.9663 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.6939, allocations: 0 / 0.9663 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.694, allocations: 39.48 kB / 0.9664 GB, free: 15 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004429/0.6945, allocations: 71.69 kB / 0.9665 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004595/0.6991, allocations: 3.288 MB / 0.9697 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004906/0.6996, allocations: 0.8287 MB / 0.9705 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001524/0.6998, allocations: 37.05 kB / 0.9705 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/0.7, allocations: 122 kB / 0.9706 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of SimCode: time 6.31e-07/0.7, allocations: 0 / 0.9706 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3223/1.022, allocations: 7.161 MB / 0.9776 GB, free: 8.238 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002166/1.023, allocations: 259.2 kB / 0.9779 GB, free: 7.973 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.832/2.855, allocations: 0 / 0.9779 GB, free: 7.973 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 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.mat","/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