Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_11_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.004963/0.004963, allocations: 97.05 kB / 15.73 MB, free: 5.547 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.001358/0.001358, allocations: 192 kB / 16.67 MB, free: 5.48 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.249/1.249, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.388/2.388, allocations: 469.8 MB / 0.7425 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 63.89 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5604/0.562, allocations: 159.1 MB / 1.22 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003003/0.565, allocations: 2.262 MB / 1.222 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001734/0.5667, allocations: 1.436 MB / 1.224 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.025e-05/0.5668, allocations: 7.938 kB / 1.224 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0004523/0.5673, allocations: 187.4 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002621/0.5676, allocations: 131.3 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003103/0.5679, allocations: 171.4 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002789/0.5682, allocations: 271 kB / 1.225 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.5683, allocations: 52.66 kB / 1.225 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.5684, allocations: 107.6 kB / 1.225 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.5686, allocations: 115.3 kB / 1.225 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.012e-05/0.5686, allocations: 16 kB / 1.225 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.5687, allocations: 47.98 kB / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.286e-05/0.5688, allocations: 95.66 kB / 1.225 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.569, allocations: 154.8 kB / 1.225 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003835/0.5693, allocations: 397.8 kB / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.5694, allocations: 3.984 kB / 1.225 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.575e-06/0.5694, allocations: 0 / 1.225 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.5694, allocations: 3.938 kB / 1.225 GB, free: 12.67 MB / 0.9512 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.0008268/0.5702, allocations: 0.715 MB / 1.226 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.5702, allocations: 16.02 kB / 1.226 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.907e-05/0.5703, allocations: 34.75 kB / 1.226 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.321e-05/0.5704, allocations: 52.61 kB / 1.226 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004331/0.5708, allocations: 412.6 kB / 1.227 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.5708, allocations: 12.11 kB / 1.227 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.5708, allocations: 12 kB / 1.227 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.571, allocations: 93.59 kB / 1.227 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.571, allocations: 0 / 1.227 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.5711, allocations: 4 kB / 1.227 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.5711, allocations: 0 / 1.227 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.5712, allocations: 58.58 kB / 1.227 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006373/0.5718, allocations: 0.4925 MB / 1.227 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/0.5721, allocations: 106.7 kB / 1.227 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.808e-05/0.5722, allocations: 32.84 kB / 1.227 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.5722, allocations: 7.984 kB / 1.227 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001501/0.5724, allocations: 91.31 kB / 1.228 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.5724, allocations: 0 / 1.228 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.0003255/0.5727, allocations: 185.2 kB / 1.228 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.483e-05/0.5728, allocations: 51.41 kB / 1.228 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004697/0.5732, allocations: 0.4911 MB / 1.228 GB, free: 9.613 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.5733, allocations: 33.7 kB / 1.228 GB, free: 9.574 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.5734, allocations: 228.1 kB / 1.228 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.5735, allocations: 23.86 kB / 1.229 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.167e-05/0.5735, allocations: 57.64 kB / 1.229 GB, free: 9.262 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.5737, allocations: 354.8 kB / 1.229 GB, free: 8.906 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.887e-05/0.5738, allocations: 51.97 kB / 1.229 GB, free: 8.855 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.5739, allocations: 72.42 kB / 1.229 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.5741, allocations: 103.9 kB / 1.229 GB, free: 8.672 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.5741, allocations: 7.969 kB / 1.229 GB, free: 8.664 MB / 0.9512 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002926/0.5744, allocations: 209.3 kB / 1.229 GB, free: 8.453 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/0.5744, allocations: 4 kB / 1.229 GB, free: 8.449 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.5744, allocations: 4 kB / 1.229 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.894e-06/0.5744, allocations: 0 / 1.229 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.5746, allocations: 39.97 kB / 1.229 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.5746, allocations: 0 / 1.229 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.5747, allocations: 19.89 kB / 1.229 GB, free: 8.387 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.5747, allocations: 8.016 kB / 1.229 GB, free: 8.379 MB / 0.9512 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.0001597/0.5749, allocations: 193.7 kB / 1.23 GB, free: 8.18 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.5749, allocations: 48.05 kB / 1.23 GB, free: 8.133 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.525e-05/0.575, allocations: 51.89 kB / 1.23 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.575, allocations: 0 / 1.23 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.575, allocations: 4 kB / 1.23 GB, free: 8.074 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.575, allocations: 3.938 kB / 1.23 GB, free: 8.07 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002584/0.5753, allocations: 321.4 kB / 1.23 GB, free: 7.707 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.5753, allocations: 0 / 1.23 GB, free: 7.707 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.292e-05/0.5753, allocations: 12 kB / 1.23 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.5754, allocations: 0 / 1.23 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.5754, allocations: 7.938 kB / 1.23 GB, free: 7.688 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.5754, allocations: 0 / 1.23 GB, free: 7.688 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.5754, allocations: 0 / 1.23 GB, free: 7.688 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003192/0.5757, allocations: 224.6 kB / 1.23 GB, free: 7.449 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.522e-05/0.5758, allocations: 116.8 kB / 1.23 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/0.5758, allocations: 7.922 kB / 1.23 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.708e-05/0.5759, allocations: 12.06 kB / 1.23 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.576, allocations: 7.984 kB / 1.23 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.978e-06/0.576, allocations: 4 kB / 1.23 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003242/0.5763, allocations: 358.8 kB / 1.231 GB, free: 6.938 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.5763, allocations: 0 / 1.231 GB, free: 6.938 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002141/0.5765, allocations: 51.88 kB / 1.231 GB, free: 6.887 MB / 0.9512 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.001734/0.5783, allocations: 1.058 MB / 1.232 GB, free: 5.957 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002268/0.5785, allocations: 110.1 kB / 1.232 GB, free: 5.852 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5785, allocations: 4 kB / 1.232 GB, free: 5.848 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.277e-05/0.5786, allocations: 39.92 kB / 1.232 GB, free: 5.809 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.5789, allocations: 71.3 kB / 1.232 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003144/0.5821, allocations: 3.147 MB / 1.235 GB, free: 2.516 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.5825, allocations: 0.8221 MB / 1.236 GB, free: 1.668 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 9.101e-05/0.5826, allocations: 41.92 kB / 1.236 GB, free: 1.625 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.5827, allocations: 127.4 kB / 1.236 GB, free: 1.5 MB / 0.9512 GB Notification: Performance of SimCode: time 2.1e-07/0.5827, allocations: 0 / 1.236 GB, free: 1.5 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.26/2.843, allocations: 7.704 MB / 1.244 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.673/12.52, allocations: 5.594 kB / 1.244 GB, free: 9.957 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow_fmu --startTime=0 --stopTime=1200 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches