Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_latest_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.0009399/0.0009399, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005808/0.005808, allocations: 171.1 kB / 16.27 MB, free: 6.652 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.333/1.333, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.492/2.492, allocations: 462.6 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005115/0.0005115, allocations: 14 kB / 0.9029 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2724, allocations: 159.6 MB / 1.059 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.002441/0.2749, allocations: 1.967 MB / 1.061 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001764/0.2767, allocations: 1.385 MB / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.062e-05/0.2768, allocations: 0 / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004789/0.2773, allocations: 191.9 kB / 1.062 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002443/0.2775, allocations: 115.5 kB / 1.062 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003133/0.2778, allocations: 142.3 kB / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002713/0.2781, allocations: 259.1 kB / 1.063 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.2783, allocations: 48.66 kB / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.2784, allocations: 95.5 kB / 1.063 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.2785, allocations: 111.3 kB / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.364e-05/0.2786, allocations: 8 kB / 1.063 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.2787, allocations: 35.98 kB / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.558e-05/0.2788, allocations: 95.59 kB / 1.063 GB, free: 412 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.2789, allocations: 160.5 kB / 1.063 GB, free: 244 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003261/0.2792, allocations: 366.7 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2792, allocations: 4 kB / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2793, allocations: 0 / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.2793, allocations: 0 / 1.064 GB, free: 15.87 MB / 0.8262 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.0008203/0.2801, allocations: 0.657 MB / 1.064 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.2801, allocations: 11.97 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.036e-05/0.2802, allocations: 38.75 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.49e-05/0.2802, allocations: 44.38 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004299/0.2807, allocations: 404.1 kB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.484e-05/0.2808, allocations: 12.11 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.2808, allocations: 16 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.281, allocations: 99.78 kB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.281, allocations: 0 / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.281, allocations: 0 / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.281, allocations: 4 kB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.2811, allocations: 55.97 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006829/0.2818, allocations: 0.4964 MB / 1.065 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/0.2822, allocations: 98.73 kB / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.956e-05/0.2822, allocations: 36.84 kB / 1.066 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.2823, allocations: 7.984 kB / 1.066 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001577/0.2824, allocations: 91.25 kB / 1.066 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.2824, allocations: 0 / 1.066 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0003418/0.2828, allocations: 181 kB / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.2828, allocations: 51.41 kB / 1.066 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004731/0.2833, allocations: 0.5027 MB / 1.066 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.2833, allocations: 29.7 kB / 1.066 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.2835, allocations: 223.9 kB / 1.067 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.2835, allocations: 31.78 kB / 1.067 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.782e-05/0.2836, allocations: 25.7 kB / 1.067 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.2837, allocations: 362.8 kB / 1.067 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.2838, allocations: 43.98 kB / 1.067 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.2839, allocations: 79.11 kB / 1.067 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.2841, allocations: 103.2 kB / 1.067 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2841, allocations: 0 / 1.067 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003163/0.2845, allocations: 217.9 kB / 1.067 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.2845, allocations: 4 kB / 1.067 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2845, allocations: 0 / 1.067 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.2845, allocations: 4 kB / 1.067 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.2847, allocations: 36.05 kB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.2847, allocations: 0 / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.2848, allocations: 19.98 kB / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.2848, allocations: 4 kB / 1.067 GB, free: 11.68 MB / 0.8262 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.0001733/0.285, allocations: 199.4 kB / 1.068 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.329e-05/0.2851, allocations: 47.42 kB / 1.068 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.03e-05/0.2851, allocations: 47.92 kB / 1.068 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.2852, allocations: 4 kB / 1.068 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.2852, allocations: 4 kB / 1.068 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.2852, allocations: 3.984 kB / 1.068 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/0.2854, allocations: 317.3 kB / 1.068 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2854, allocations: 0 / 1.068 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.797e-05/0.2855, allocations: 8.375 kB / 1.068 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.2855, allocations: 3.984 kB / 1.068 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.2855, allocations: 8 kB / 1.068 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2855, allocations: 0 / 1.068 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2855, allocations: 3.938 kB / 1.068 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003366/0.2859, allocations: 224.3 kB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.627e-05/0.286, allocations: 112.6 kB / 1.068 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.575e-05/0.286, allocations: 4 kB / 1.068 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.163e-05/0.2861, allocations: 11.98 kB / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/0.2862, allocations: 11.98 kB / 1.068 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.2862, allocations: 4 kB / 1.068 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003297/0.2865, allocations: 354.9 kB / 1.069 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2865, allocations: 3.938 kB / 1.069 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002567/0.2868, allocations: 51.98 kB / 1.069 GB, free: 10.19 MB / 0.8262 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.001376/0.2882, allocations: 1.064 MB / 1.07 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002303/0.2884, allocations: 109.6 kB / 1.07 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.2884, allocations: 0 / 1.07 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.595e-05/0.2885, allocations: 43.92 kB / 1.07 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.2889, allocations: 60.23 kB / 1.07 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003365/0.2923, allocations: 3.291 MB / 1.073 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.2926, allocations: 0.823 MB / 1.074 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001046/0.2927, allocations: 33.94 kB / 1.074 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.2929, allocations: 127.4 kB / 1.074 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of SimCode: time 2.8e-07/0.2929, allocations: 0 / 1.074 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.486/1.779, allocations: 7.173 MB / 1.081 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002104/1.779, allocations: 251 kB / 1.081 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.108/3.887, allocations: 0 / 1.081 GB, free: 13.43 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches