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.001303/0.001303, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001321/0.001321, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.238/1.238, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.454/2.454, allocations: 461.9 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 68.86 kB / 0.8985 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2262, allocations: 157.4 MB / 1.052 GB, free: 8.211 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003044/0.2293, allocations: 2.318 MB / 1.054 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001808/0.2311, allocations: 1.416 MB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.2313, allocations: 7.938 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004653/0.2317, allocations: 176 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000262/0.232, allocations: 123.5 kB / 1.056 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003184/0.2323, allocations: 143.7 kB / 1.056 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002624/0.2326, allocations: 251.1 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.2327, allocations: 60.66 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.2329, allocations: 99.44 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.233, allocations: 103.5 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.059e-05/0.233, allocations: 4 kB / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.2332, allocations: 51.91 kB / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.665e-05/0.2333, allocations: 91.66 kB / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.2334, allocations: 138.9 kB / 1.057 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003133/0.2337, allocations: 378.5 kB / 1.057 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2337, allocations: 4 kB / 1.057 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.81e-07/0.2337, allocations: 0 / 1.057 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.2337, allocations: 0 / 1.057 GB, free: 2.848 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.0008485/0.2346, allocations: 0.7049 MB / 1.058 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.2346, allocations: 15.97 kB / 1.058 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.294e-05/0.2347, allocations: 34.75 kB / 1.058 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.678e-05/0.2347, allocations: 48.38 kB / 1.058 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000413/0.2352, allocations: 412 kB / 1.059 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.2352, allocations: 12.12 kB / 1.059 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.2352, allocations: 8 kB / 1.059 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.2354, allocations: 97.58 kB / 1.059 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.2354, allocations: 0 / 1.059 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.2354, allocations: 0 / 1.059 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.2354, allocations: 0 / 1.059 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.2356, allocations: 51.97 kB / 1.059 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006581/0.2362, allocations: 0.4925 MB / 1.059 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003147/0.2365, allocations: 106.6 kB / 1.059 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.421e-05/0.2366, allocations: 44.78 kB / 1.059 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.2367, allocations: 4 kB / 1.059 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001544/0.2368, allocations: 87.36 kB / 1.059 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.2368, allocations: 0 / 1.059 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0003533/0.2372, allocations: 181 kB / 1.06 GB, free: 396 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.2372, allocations: 55.34 kB / 1.06 GB, free: 328 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004473/0.2377, allocations: 0.4989 MB / 1.06 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.2377, allocations: 29.7 kB / 1.06 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.2378, allocations: 223.9 kB / 1.06 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.2379, allocations: 31.78 kB / 1.06 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.579e-05/0.238, allocations: 41.7 kB / 1.06 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.2381, allocations: 362.8 kB / 1.061 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.2382, allocations: 47.98 kB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.2383, allocations: 80.42 kB / 1.061 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.2385, allocations: 95.25 kB / 1.061 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2385, allocations: 3.938 kB / 1.061 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003019/0.2388, allocations: 205 kB / 1.061 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.2388, allocations: 7.984 kB / 1.061 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.2388, allocations: 0 / 1.061 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.948e-06/0.2389, allocations: 4 kB / 1.061 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.239, allocations: 47.97 kB / 1.061 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.239, allocations: 0 / 1.061 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.2392, allocations: 19.89 kB / 1.061 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.2392, allocations: 12 kB / 1.061 GB, free: 14.58 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.0001524/0.2393, allocations: 188.3 kB / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.314e-05/0.2394, allocations: 43.44 kB / 1.062 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.533e-05/0.2395, allocations: 47.91 kB / 1.062 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.2395, allocations: 4.375 kB / 1.062 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.2395, allocations: 4 kB / 1.062 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.2395, allocations: 3.938 kB / 1.062 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002279/0.2397, allocations: 317.4 kB / 1.062 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2397, allocations: 7.938 kB / 1.062 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.081e-05/0.2398, allocations: 8 kB / 1.062 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.2398, allocations: 4 kB / 1.062 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.2398, allocations: 3.984 kB / 1.062 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.2398, allocations: 0 / 1.062 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2398, allocations: 3.938 kB / 1.062 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003257/0.2402, allocations: 220.3 kB / 1.062 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.381e-05/0.2402, allocations: 116.7 kB / 1.062 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.6e-05/0.2403, allocations: 0 / 1.062 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.715e-05/0.2404, allocations: 4 kB / 1.062 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.2404, allocations: 19.97 kB / 1.062 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/0.2404, allocations: 0 / 1.062 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003092/0.2408, allocations: 354.8 kB / 1.063 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2408, allocations: 0 / 1.063 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002485/0.241, allocations: 55.97 kB / 1.063 GB, free: 13.11 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.001301/0.2423, allocations: 1.075 MB / 1.064 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002347/0.2426, allocations: 105.1 kB / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2426, allocations: 8.062 kB / 1.064 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.562e-05/0.2427, allocations: 35.98 kB / 1.064 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.243, allocations: 64.42 kB / 1.064 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003281/0.2463, allocations: 3.265 MB / 1.067 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.2466, allocations: 0.823 MB / 1.068 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001113/0.2468, allocations: 37.94 kB / 1.068 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.2469, allocations: 127.4 kB / 1.068 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.2469, allocations: 0 / 1.068 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3613/0.6082, allocations: 7.3 MB / 1.075 GB, free: 492 kB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002393/0.6085, allocations: 262.3 kB / 1.075 GB, free: 228 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.746/2.355, allocations: 0 / 1.075 GB, free: 228 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