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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_10_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.007705/0.007705, allocations: 100.7 kB / 15.73 MB, free: 6.016 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.002096/0.002096, allocations: 186 kB / 16.67 MB, free: 5.934 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.535/2.535, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002717/0.002717, allocations: 67.84 kB / 1.018 GB, free: 9.914 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8055/0.8082, allocations: 151.6 MB / 1.166 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003665/0.8119, allocations: 2.267 MB / 1.168 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002203/0.8142, allocations: 1.44 MB / 1.17 GB, free: 52 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.8143, allocations: 4 kB / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005888/0.8149, allocations: 187.1 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003391/0.8153, allocations: 131.3 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003972/0.8157, allocations: 173 kB / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003392/0.816, allocations: 259 kB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001613/0.8162, allocations: 56.72 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001587/0.8164, allocations: 107.5 kB / 1.171 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001805/0.8165, allocations: 111.5 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.188e-05/0.8166, allocations: 19.94 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.8168, allocations: 55.92 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.8169, allocations: 95.66 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001649/0.8171, allocations: 150.8 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005318/0.8176, allocations: 393.8 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.8176, allocations: 4 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.165e-06/0.8176, allocations: 0 / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.8176, allocations: 4 kB / 1.171 GB, free: 14.34 MB / 0.9044 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.001236/0.8189, allocations: 0.7189 MB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.8189, allocations: 8.625 kB / 1.172 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.704e-05/0.819, allocations: 42.73 kB / 1.172 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.228e-05/0.8191, allocations: 48.61 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005822/0.8197, allocations: 420.5 kB / 1.173 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.8197, allocations: 12.12 kB / 1.173 GB, free: 13 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.8198, allocations: 8 kB / 1.173 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.82, allocations: 89.64 kB / 1.173 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.82, allocations: 0 / 1.173 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.82, allocations: 4 kB / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.8201, allocations: 3.938 kB / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/0.8202, allocations: 59.91 kB / 1.173 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008146/0.821, allocations: 492.5 kB / 1.173 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003821/0.8214, allocations: 122.6 kB / 1.173 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.302e-05/0.8215, allocations: 32.84 kB / 1.173 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.8215, allocations: 0 / 1.173 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002076/0.8218, allocations: 99.3 kB / 1.174 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.8218, allocations: 0 / 1.174 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0004325/0.8222, allocations: 181.2 kB / 1.174 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.877e-05/0.8223, allocations: 55.41 kB / 1.174 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005831/0.8229, allocations: 0.4911 MB / 1.174 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.8229, allocations: 33.7 kB / 1.174 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.8231, allocations: 224.1 kB / 1.174 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.446e-05/0.8232, allocations: 27.84 kB / 1.175 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.644e-05/0.8233, allocations: 53.66 kB / 1.175 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.8234, allocations: 358.8 kB / 1.175 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.8236, allocations: 47.97 kB / 1.175 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.8237, allocations: 76.23 kB / 1.175 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002009/0.8239, allocations: 104.2 kB / 1.175 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.8239, allocations: 7.938 kB / 1.175 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000367/0.8243, allocations: 197.3 kB / 1.175 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.8243, allocations: 8 kB / 1.175 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.8243, allocations: 0 / 1.175 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.8244, allocations: 0 / 1.175 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.8245, allocations: 43.91 kB / 1.175 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.8246, allocations: 8 kB / 1.175 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.8247, allocations: 15.89 kB / 1.175 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-05/0.8247, allocations: 16.02 kB / 1.175 GB, free: 10.04 MB / 0.9044 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.0002161/0.825, allocations: 190 kB / 1.176 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.482e-05/0.825, allocations: 47.67 kB / 1.176 GB, free: 9.793 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.49e-05/0.8251, allocations: 47.91 kB / 1.176 GB, free: 9.746 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.8251, allocations: 0 / 1.176 GB, free: 9.746 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.8251, allocations: 3.938 kB / 1.176 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.8251, allocations: 0 / 1.176 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003102/0.8255, allocations: 321.4 kB / 1.176 GB, free: 9.379 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.8255, allocations: 7.984 kB / 1.176 GB, free: 9.371 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.366e-05/0.8255, allocations: 8 kB / 1.176 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.8255, allocations: 0 / 1.176 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.8256, allocations: 0 / 1.176 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.8256, allocations: 7.938 kB / 1.176 GB, free: 9.355 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.8256, allocations: 0 / 1.176 GB, free: 9.355 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000388/0.826, allocations: 224.6 kB / 1.176 GB, free: 9.117 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.884e-05/0.8261, allocations: 112.8 kB / 1.176 GB, free: 8.988 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.964e-05/0.8261, allocations: 8.062 kB / 1.176 GB, free: 8.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.905e-05/0.8262, allocations: 11.98 kB / 1.176 GB, free: 8.969 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.515e-05/0.8263, allocations: 7.984 kB / 1.176 GB, free: 8.961 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.8263, allocations: 4 kB / 1.176 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003794/0.8267, allocations: 354.8 kB / 1.177 GB, free: 8.613 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8267, allocations: 0 / 1.177 GB, free: 8.613 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002734/0.827, allocations: 51.92 kB / 1.177 GB, free: 8.562 MB / 0.9044 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.00214/0.8291, allocations: 1.073 MB / 1.178 GB, free: 7.617 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003018/0.8294, allocations: 107.9 kB / 1.178 GB, free: 7.512 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.8294, allocations: 0 / 1.178 GB, free: 7.512 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.8296, allocations: 47.91 kB / 1.178 GB, free: 7.465 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000412/0.83, allocations: 65.44 kB / 1.178 GB, free: 7.402 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003961/0.8339, allocations: 3.152 MB / 1.181 GB, free: 4.168 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004689/0.8344, allocations: 0.8221 MB / 1.182 GB, free: 3.32 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001192/0.8346, allocations: 41.92 kB / 1.182 GB, free: 3.277 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/0.8347, allocations: 123.4 kB / 1.182 GB, free: 3.156 MB / 0.9044 GB Notification: Performance of SimCode: time 7.21e-07/0.8348, allocations: 4 kB / 1.182 GB, free: 3.152 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03157/0.8663, allocations: 7.686 MB / 1.19 GB, free: 11.59 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.5/9.366, allocations: 9.719 kB / 1.19 GB, free: 11.59 MB / 0.92 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.csv","/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