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.001078/0.001078, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001036/0.001036, allocations: 192.6 kB / 16.25 MB, free: 6.629 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.256/1.256, allocations: 222.9 MB / 239.9 MB, free: 4.574 MB / 190.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.365/2.365, allocations: 437 MB / 0.7101 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 63.91 kB / 0.8689 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6039/0.6055, allocations: 151.6 MB / 1.017 GB, free: 2.684 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003686/0.6092, allocations: 2.324 MB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002054/0.6113, allocations: 1.409 MB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001859/0.6115, allocations: 7.938 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005731/0.6121, allocations: 185.5 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003305/0.6124, allocations: 114.8 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004013/0.6128, allocations: 147.7 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003212/0.6132, allocations: 271.1 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.6133, allocations: 48.72 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.6135, allocations: 111.4 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.6136, allocations: 119.5 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.295e-05/0.6137, allocations: 19.94 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.6138, allocations: 55.97 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.633e-05/0.6139, allocations: 99.59 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.614, allocations: 146.9 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000393/0.6144, allocations: 390.5 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.6144, allocations: 0 / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6145, allocations: 0 / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.6145, allocations: 0 / 1.022 GB, free: 13.24 MB / 0.7794 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.001/0.6155, allocations: 0.7074 MB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.6155, allocations: 8.031 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.715e-05/0.6156, allocations: 38.75 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.977e-05/0.6156, allocations: 48.38 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004508/0.6161, allocations: 420 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.6161, allocations: 8.125 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.6162, allocations: 8 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.6164, allocations: 89.64 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.6164, allocations: 4 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.6164, allocations: 8 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.6164, allocations: 0 / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.6165, allocations: 51.97 kB / 1.024 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007155/0.6173, allocations: 0.4886 MB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003238/0.6176, allocations: 102.7 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.841e-05/0.6177, allocations: 40.77 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.6177, allocations: 3.984 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001685/0.6179, allocations: 95.31 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.482e-06/0.6179, allocations: 0 / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0003688/0.6183, allocations: 177 kB / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.6183, allocations: 55.41 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004613/0.6188, allocations: 0.4911 MB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.6188, allocations: 33.7 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.619, allocations: 228 kB / 1.025 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.131e-05/0.619, allocations: 23.7 kB / 1.025 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.187e-05/0.6191, allocations: 53.7 kB / 1.025 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.6192, allocations: 358.8 kB / 1.026 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.6193, allocations: 51.92 kB / 1.026 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.6194, allocations: 77.67 kB / 1.026 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.6196, allocations: 99.94 kB / 1.026 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.6196, allocations: 7.969 kB / 1.026 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003178/0.6199, allocations: 206.4 kB / 1.026 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.62, allocations: 8 kB / 1.026 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.62, allocations: 3.984 kB / 1.026 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.62, allocations: 0 / 1.026 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.6202, allocations: 35.98 kB / 1.026 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.6202, allocations: 0 / 1.026 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.6203, allocations: 27.77 kB / 1.026 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.6203, allocations: 4 kB / 1.026 GB, free: 8.98 MB / 0.7794 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.0001811/0.6205, allocations: 190.3 kB / 1.026 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.714e-05/0.6206, allocations: 43.44 kB / 1.026 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.595e-05/0.6207, allocations: 47.91 kB / 1.026 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.6207, allocations: 0 / 1.026 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.6207, allocations: 0 / 1.026 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.6207, allocations: 4 kB / 1.026 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003129/0.621, allocations: 321.4 kB / 1.027 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.621, allocations: 0 / 1.027 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.547e-05/0.6211, allocations: 11.94 kB / 1.027 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.6211, allocations: 8 kB / 1.027 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.6211, allocations: 7.984 kB / 1.027 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.6211, allocations: 384 / 1.027 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.6211, allocations: 0 / 1.027 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003361/0.6215, allocations: 220.3 kB / 1.027 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.604e-05/0.6215, allocations: 120.5 kB / 1.027 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.604e-05/0.6216, allocations: 0 / 1.027 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.757e-05/0.6217, allocations: 12.06 kB / 1.027 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.466e-05/0.6217, allocations: 7.984 kB / 1.027 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.6218, allocations: 7.984 kB / 1.027 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003292/0.6221, allocations: 358.8 kB / 1.027 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6221, allocations: 0 / 1.027 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002492/0.6223, allocations: 43.91 kB / 1.027 GB, free: 7.512 MB / 0.7794 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.001483/0.6238, allocations: 1.072 MB / 1.029 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002692/0.6241, allocations: 115.8 kB / 1.029 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.6241, allocations: 0 / 1.029 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.913e-05/0.6242, allocations: 39.98 kB / 1.029 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.6246, allocations: 65.56 kB / 1.029 GB, free: 6.359 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003655/0.6283, allocations: 3.276 MB / 1.032 GB, free: 2.988 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.6286, allocations: 0.8232 MB / 1.033 GB, free: 2.141 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001211/0.6288, allocations: 33.94 kB / 1.033 GB, free: 2.109 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/0.6289, allocations: 135.3 kB / 1.033 GB, free: 1.977 MB / 0.7794 GB Notification: Performance of SimCode: time 1.452e-06/0.6289, allocations: 0 / 1.033 GB, free: 1.977 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.614/2.243, allocations: 7.427 MB / 1.04 GB, free: 10.73 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002137/2.243, allocations: 259.8 kB / 1.04 GB, free: 10.47 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.231/4.474, allocations: 0 / 1.04 GB, free: 10.47 MB / 0.795 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=50 --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