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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001702/0.001702, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002002/0.002002, allocations: 191 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.211/1.211, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.613/2.613, allocations: 461.9 MB / 0.7343 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 68.77 kB / 0.8987 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3007, allocations: 157.4 MB / 1.052 GB, free: 8.605 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.00328/0.304, allocations: 2.318 MB / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001782/0.3058, allocations: 1.417 MB / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.3059, allocations: 8 kB / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004892/0.3064, allocations: 176 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002682/0.3067, allocations: 123.5 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003218/0.307, allocations: 142.7 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002785/0.3073, allocations: 271.1 kB / 1.057 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.3074, allocations: 60.64 kB / 1.057 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.3076, allocations: 103.5 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.3077, allocations: 119.4 kB / 1.057 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/0.3077, allocations: 12 kB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.3079, allocations: 59.89 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.384e-05/0.308, allocations: 103.7 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.3081, allocations: 154.8 kB / 1.057 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003476/0.3085, allocations: 382.6 kB / 1.058 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3085, allocations: 0 / 1.058 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.163e-06/0.3085, allocations: 3.938 kB / 1.058 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.3085, allocations: 4 kB / 1.058 GB, free: 3.16 MB / 0.8106 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.0008902/0.3094, allocations: 0.6996 MB / 1.058 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.3094, allocations: 8.625 kB / 1.058 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.16e-05/0.3095, allocations: 46.73 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.8e-05/0.3095, allocations: 48.38 kB / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004421/0.31, allocations: 404.1 kB / 1.059 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.31, allocations: 12.12 kB / 1.059 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.31, allocations: 8 kB / 1.059 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.3102, allocations: 93.58 kB / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.3103, allocations: 0 / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.3103, allocations: 4 kB / 1.059 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.3103, allocations: 4 kB / 1.059 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.3104, allocations: 51.97 kB / 1.059 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006652/0.3111, allocations: 0.4925 MB / 1.06 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003255/0.3114, allocations: 110.7 kB / 1.06 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.362e-05/0.3115, allocations: 36.84 kB / 1.06 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.3115, allocations: 0 / 1.06 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001626/0.3117, allocations: 83.38 kB / 1.06 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.3117, allocations: 0 / 1.06 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0003451/0.3121, allocations: 185 kB / 1.06 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.3121, allocations: 51.41 kB / 1.06 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004522/0.3126, allocations: 0.4911 MB / 1.06 GB, free: 152 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.3126, allocations: 33.7 kB / 1.06 GB, free: 112 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.3128, allocations: 223.9 kB / 1.061 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.3128, allocations: 40.02 kB / 1.061 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.12e-05/0.3129, allocations: 49.7 kB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.313, allocations: 362.8 kB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.3131, allocations: 43.98 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.3133, allocations: 78.48 kB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.3134, allocations: 99.41 kB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3135, allocations: 3.938 kB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000311/0.3138, allocations: 210.2 kB / 1.062 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.3138, allocations: 9.094 kB / 1.062 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3138, allocations: 4 kB / 1.062 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.3138, allocations: 0 / 1.062 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.314, allocations: 35.92 kB / 1.062 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.314, allocations: 4 kB / 1.062 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.3141, allocations: 15.89 kB / 1.062 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.3142, allocations: 8 kB / 1.062 GB, free: 14.91 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.0001704/0.3143, allocations: 193.7 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.687e-05/0.3144, allocations: 51.42 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.013e-05/0.3145, allocations: 47.92 kB / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3145, allocations: 0 / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.3145, allocations: 0 / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.3145, allocations: 3.984 kB / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002571/0.3148, allocations: 317.5 kB / 1.062 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3148, allocations: 0 / 1.062 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.555e-05/0.3148, allocations: 15.92 kB / 1.062 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3148, allocations: 0 / 1.062 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.3149, allocations: 0 / 1.062 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3149, allocations: 8 kB / 1.062 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3149, allocations: 0 / 1.062 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003396/0.3152, allocations: 224.3 kB / 1.062 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.775e-05/0.3153, allocations: 104.7 kB / 1.063 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.906e-05/0.3153, allocations: 8 kB / 1.063 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.876e-05/0.3154, allocations: 7.984 kB / 1.063 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.339e-05/0.3155, allocations: 7.984 kB / 1.063 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.3155, allocations: 8.062 kB / 1.063 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003294/0.3158, allocations: 354.8 kB / 1.063 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.134e-06/0.3159, allocations: 0 / 1.063 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000253/0.3161, allocations: 51.94 kB / 1.063 GB, free: 13.44 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.00139/0.3175, allocations: 1.072 MB / 1.064 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002639/0.3178, allocations: 115.8 kB / 1.064 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3178, allocations: 0 / 1.064 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.912e-05/0.3179, allocations: 39.98 kB / 1.064 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.3183, allocations: 71.86 kB / 1.064 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003512/0.3218, allocations: 3.256 MB / 1.067 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/0.3222, allocations: 0.8344 MB / 1.068 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001174/0.3223, allocations: 37.86 kB / 1.068 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001697/0.3225, allocations: 131.4 kB / 1.068 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3225, allocations: 0 / 1.068 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.534/4.856, allocations: 7.432 MB / 1.076 GB, free: 0.6523 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003502/4.857, allocations: 256.5 kB / 1.076 GB, free: 408 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.746/7.603, allocations: 0 / 1.076 GB, free: 408 kB / 0.8262 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