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.001198/0.001198, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 193.1 kB / 16.53 MB, free: 6.664 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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.353/2.353, allocations: 437 MB / 0.7104 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 63.89 kB / 0.8694 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5323/0.5337, allocations: 151.6 MB / 1.017 GB, free: 2.527 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003958/0.5377, allocations: 2.252 MB / 1.02 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002217/0.54, allocations: 1.452 MB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000188/0.5402, allocations: 7.938 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005751/0.5408, allocations: 185.4 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003978/0.5412, allocations: 131.3 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004384/0.5417, allocations: 167.5 kB / 1.022 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003366/0.542, allocations: 263.1 kB / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.5422, allocations: 56.7 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.5424, allocations: 99.58 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.5425, allocations: 119.3 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.315e-05/0.5426, allocations: 12 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.5427, allocations: 59.95 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.948e-05/0.5429, allocations: 91.67 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.543, allocations: 154.8 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003992/0.5434, allocations: 390.6 kB / 1.023 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.5434, allocations: 3.938 kB / 1.023 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5434, allocations: 0 / 1.023 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.5434, allocations: 0 / 1.023 GB, free: 13.09 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.0009271/0.5444, allocations: 0.6996 MB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.5444, allocations: 8.031 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.67e-05/0.5444, allocations: 38.75 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.994e-05/0.5445, allocations: 44.38 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004621/0.545, allocations: 420 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.545, allocations: 8.109 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.5451, allocations: 12 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.5453, allocations: 87.77 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.5453, allocations: 0 / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.5453, allocations: 4 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.5453, allocations: 3.984 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.5454, allocations: 55.92 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006977/0.5461, allocations: 0.4925 MB / 1.025 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003429/0.5465, allocations: 114.6 kB / 1.025 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.6e-05/0.5466, allocations: 28.86 kB / 1.025 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.5466, allocations: 3.984 kB / 1.025 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001715/0.5468, allocations: 91.31 kB / 1.025 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.5468, allocations: 0 / 1.025 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0003956/0.5472, allocations: 177 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.5473, allocations: 59.41 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005016/0.5478, allocations: 0.4911 MB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.5478, allocations: 33.7 kB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.548, allocations: 224.1 kB / 1.026 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.548, allocations: 27.61 kB / 1.026 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.46e-05/0.5481, allocations: 53.69 kB / 1.026 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.5482, allocations: 359.1 kB / 1.026 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.5483, allocations: 55.97 kB / 1.026 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.5485, allocations: 75.84 kB / 1.026 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001923/0.5487, allocations: 107.2 kB / 1.026 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.5487, allocations: 7.875 kB / 1.026 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003317/0.549, allocations: 202.9 kB / 1.027 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.549, allocations: 8 kB / 1.027 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.549, allocations: 4.062 kB / 1.027 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.5491, allocations: 0 / 1.027 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.5492, allocations: 43.91 kB / 1.027 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.5492, allocations: 0 / 1.027 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.5494, allocations: 19.84 kB / 1.027 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/0.5494, allocations: 7.984 kB / 1.027 GB, free: 8.82 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.0001833/0.5496, allocations: 191.5 kB / 1.027 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.897e-05/0.5497, allocations: 43.44 kB / 1.027 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.639e-05/0.5497, allocations: 51.91 kB / 1.027 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.5497, allocations: 0 / 1.027 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.5498, allocations: 0 / 1.027 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.5498, allocations: 4 kB / 1.027 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.55, allocations: 317.4 kB / 1.027 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.55, allocations: 0 / 1.027 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.408e-05/0.5501, allocations: 8 kB / 1.027 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.5501, allocations: 0 / 1.027 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.5501, allocations: 4 kB / 1.027 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.5501, allocations: 0 / 1.027 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.5502, allocations: 0 / 1.027 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003585/0.5505, allocations: 228.4 kB / 1.027 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.028e-05/0.5506, allocations: 112.5 kB / 1.028 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.96e-05/0.5507, allocations: 7.984 kB / 1.028 GB, free: 7.777 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.074e-05/0.5508, allocations: 8 kB / 1.028 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.5508, allocations: 7.984 kB / 1.028 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.5508, allocations: 4 kB / 1.028 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000349/0.5512, allocations: 362.9 kB / 1.028 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.824e-06/0.5512, allocations: 4 kB / 1.028 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002907/0.5515, allocations: 47.84 kB / 1.028 GB, free: 7.355 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.00148/0.553, allocations: 1.07 MB / 1.029 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002693/0.5532, allocations: 115.9 kB / 1.029 GB, free: 6.305 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5533, allocations: 0 / 1.029 GB, free: 6.305 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.269e-05/0.5534, allocations: 39.92 kB / 1.029 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.5537, allocations: 63.52 kB / 1.029 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003529/0.5573, allocations: 3.189 MB / 1.032 GB, free: 2.926 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.5577, allocations: 0.8221 MB / 1.033 GB, free: 2.078 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001195/0.5578, allocations: 41.92 kB / 1.033 GB, free: 2.039 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.5579, allocations: 131.4 kB / 1.033 GB, free: 1.91 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.558, allocations: 3.938 kB / 1.033 GB, free: 1.906 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.461/1.019, allocations: 7.57 MB / 1.041 GB, free: 10.49 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.133/10.15, allocations: 2.062 kB / 1.041 GB, free: 10.49 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