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.006623/0.006623, allocations: 97.98 kB / 15.73 MB, free: 5.602 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.001769/0.001769, allocations: 195.2 kB / 16.68 MB, free: 5.523 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.4 MB, free: 15.13 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.219/2.219, allocations: 437.1 MB / 0.7106 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001677/0.001677, allocations: 63.91 kB / 1.018 GB, free: 9.84 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6052/0.6069, allocations: 151.6 MB / 1.166 GB, free: 3.719 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003158/0.6101, allocations: 2.266 MB / 1.168 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001912/0.612, allocations: 1.444 MB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.635e-05/0.6121, allocations: 0 / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0004696/0.6126, allocations: 183 kB / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002782/0.6129, allocations: 139.3 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003283/0.6132, allocations: 172 kB / 1.17 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002894/0.6135, allocations: 263.1 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.6136, allocations: 56.72 kB / 1.171 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.6138, allocations: 107.5 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.6139, allocations: 107.5 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.247e-05/0.6139, allocations: 12 kB / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.6141, allocations: 59.92 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.6142, allocations: 99.61 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.6143, allocations: 146.9 kB / 1.171 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004053/0.6147, allocations: 393.7 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.6147, allocations: 4 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.042e-06/0.6147, allocations: 0 / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.6147, allocations: 0 / 1.171 GB, free: 14.29 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.0008979/0.6157, allocations: 0.7306 MB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 2.802e-05/0.6157, allocations: 8.922 kB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.254e-05/0.6157, allocations: 42.73 kB / 1.172 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.605e-05/0.6158, allocations: 48.61 kB / 1.172 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004723/0.6163, allocations: 412.5 kB / 1.173 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.6163, allocations: 12.12 kB / 1.173 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.6163, allocations: 8 kB / 1.173 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.6165, allocations: 95.47 kB / 1.173 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.6165, allocations: 0 / 1.173 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.6165, allocations: 0 / 1.173 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.6166, allocations: 4 kB / 1.173 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.6167, allocations: 51.91 kB / 1.173 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006606/0.6174, allocations: 0.4888 MB / 1.173 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/0.6177, allocations: 118.6 kB / 1.173 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.798e-05/0.6178, allocations: 36.84 kB / 1.173 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.6178, allocations: 4 kB / 1.173 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.6179, allocations: 91.3 kB / 1.174 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/0.6179, allocations: 3.938 kB / 1.174 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0003415/0.6183, allocations: 177.3 kB / 1.174 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.6183, allocations: 55.34 kB / 1.174 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005032/0.6188, allocations: 0.4989 MB / 1.174 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.6189, allocations: 29.7 kB / 1.174 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.6191, allocations: 236.1 kB / 1.175 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.6191, allocations: 23.84 kB / 1.175 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.169e-05/0.6192, allocations: 45.66 kB / 1.175 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.6193, allocations: 362.8 kB / 1.175 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.6194, allocations: 47.97 kB / 1.175 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.6196, allocations: 80.23 kB / 1.175 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.6197, allocations: 93.73 kB / 1.175 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.6198, allocations: 3.938 kB / 1.175 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003166/0.6201, allocations: 211.2 kB / 1.175 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.6201, allocations: 4 kB / 1.175 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.6201, allocations: 0 / 1.175 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.6201, allocations: 4 kB / 1.175 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.6203, allocations: 39.91 kB / 1.175 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.6203, allocations: 4.031 kB / 1.175 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.6204, allocations: 19.89 kB / 1.175 GB, free: 9.988 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.6204, allocations: 15.97 kB / 1.175 GB, free: 9.973 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.0001701/0.6206, allocations: 192.4 kB / 1.176 GB, free: 9.777 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.903e-05/0.6207, allocations: 51.61 kB / 1.176 GB, free: 9.727 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.776e-05/0.6207, allocations: 47.91 kB / 1.176 GB, free: 9.68 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.6207, allocations: 4.375 kB / 1.176 GB, free: 9.676 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.6208, allocations: 0 / 1.176 GB, free: 9.676 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.6208, allocations: 4 kB / 1.176 GB, free: 9.672 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002783/0.621, allocations: 313.5 kB / 1.176 GB, free: 9.316 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.6211, allocations: 3.938 kB / 1.176 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-05/0.6211, allocations: 11.98 kB / 1.176 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.6211, allocations: 0 / 1.176 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.6211, allocations: 4 kB / 1.176 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.6211, allocations: 0 / 1.176 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.6212, allocations: 0 / 1.176 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003426/0.6215, allocations: 224.6 kB / 1.176 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.706e-05/0.6216, allocations: 120.7 kB / 1.176 GB, free: 8.922 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.502e-05/0.6216, allocations: 8 kB / 1.176 GB, free: 8.914 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.946e-05/0.6217, allocations: 3.984 kB / 1.176 GB, free: 8.91 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.6218, allocations: 15.98 kB / 1.176 GB, free: 8.895 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.6218, allocations: 4 kB / 1.176 GB, free: 8.891 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003463/0.6221, allocations: 350.8 kB / 1.177 GB, free: 8.551 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.6221, allocations: 0 / 1.177 GB, free: 8.551 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000231/0.6224, allocations: 51.92 kB / 1.177 GB, free: 8.5 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.001831/0.6242, allocations: 1.075 MB / 1.178 GB, free: 7.555 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002416/0.6245, allocations: 107.9 kB / 1.178 GB, free: 7.449 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.6245, allocations: 0 / 1.178 GB, free: 7.449 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.376e-05/0.6246, allocations: 47.98 kB / 1.178 GB, free: 7.402 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.6249, allocations: 66.27 kB / 1.178 GB, free: 7.34 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00334/0.6283, allocations: 3.15 MB / 1.181 GB, free: 4.105 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003944/0.6287, allocations: 0.8221 MB / 1.182 GB, free: 3.258 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 9.473e-05/0.6288, allocations: 29.94 kB / 1.182 GB, free: 3.227 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/0.6289, allocations: 127.4 kB / 1.182 GB, free: 3.102 MB / 0.9044 GB Notification: Performance of SimCode: time 1.9e-07/0.6289, allocations: 0 / 1.182 GB, free: 3.102 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.62/6.249, allocations: 7.694 MB / 1.19 GB, free: 11.52 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.41/24.66, allocations: 6.406 kB / 1.19 GB, free: 11.52 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow_fmu --startTime=0 --stopTime=1200 --timeout=400 --tolerance=1e-06 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.mat","/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