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.001521/0.001521, allocations: 108 kB / 15.61 MB, free: 148 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.001316/0.001316, allocations: 197.5 kB / 16.53 MB, free: 6.656 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.741/2.741, allocations: 469.4 MB / 0.742 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 64.84 kB / 0.9083 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2528, allocations: 159.1 MB / 1.064 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003587/0.2564, allocations: 2.265 MB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002128/0.2586, allocations: 1.447 MB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001803/0.2588, allocations: 4 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005888/0.2594, allocations: 183.8 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003632/0.2598, allocations: 135.3 kB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004356/0.2602, allocations: 169.2 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003386/0.2606, allocations: 259.1 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.2607, allocations: 60.66 kB / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001813/0.2609, allocations: 107.5 kB / 1.068 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.2611, allocations: 107.4 kB / 1.068 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.662e-05/0.2611, allocations: 16 kB / 1.068 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.2613, allocations: 63.91 kB / 1.068 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.95e-05/0.2614, allocations: 95.66 kB / 1.068 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001362/0.2615, allocations: 146.9 kB / 1.069 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004035/0.2619, allocations: 382.5 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.262, allocations: 0 / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.413e-06/0.262, allocations: 0 / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.496e-05/0.262, allocations: 0 / 1.069 GB, free: 9.039 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.0011/0.2631, allocations: 0.7113 MB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.2631, allocations: 12.03 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.154e-05/0.2632, allocations: 38.75 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.645e-05/0.2633, allocations: 52.27 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005115/0.2638, allocations: 404.1 kB / 1.07 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.2638, allocations: 12.12 kB / 1.07 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/0.2639, allocations: 8 kB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/0.2641, allocations: 101.5 kB / 1.07 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.2641, allocations: 0 / 1.07 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.2641, allocations: 4 kB / 1.07 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.2642, allocations: 4 kB / 1.07 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.2643, allocations: 47.97 kB / 1.07 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008412/0.2651, allocations: 496.4 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003728/0.2655, allocations: 110.7 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.588e-05/0.2656, allocations: 36.84 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.2657, allocations: 3.984 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001965/0.2659, allocations: 95.38 kB / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.884e-06/0.2659, allocations: 0 / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0004237/0.2663, allocations: 173 kB / 1.071 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.2664, allocations: 51.41 kB / 1.071 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005503/0.2669, allocations: 0.5027 MB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.267, allocations: 25.7 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.2671, allocations: 228 kB / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.2672, allocations: 31.72 kB / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.646e-05/0.2673, allocations: 49.7 kB / 1.072 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.2674, allocations: 362.7 kB / 1.072 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.2675, allocations: 43.98 kB / 1.072 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.2677, allocations: 79.67 kB / 1.072 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/0.2679, allocations: 95.75 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/0.2679, allocations: 3.938 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003517/0.2683, allocations: 216.9 kB / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.2683, allocations: 5.719 kB / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2683, allocations: 0 / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.2683, allocations: 4 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.2685, allocations: 35.92 kB / 1.073 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.2685, allocations: 384 / 1.073 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.2686, allocations: 15.98 kB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/0.2687, allocations: 12 kB / 1.073 GB, free: 4.777 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.0001988/0.2689, allocations: 193.7 kB / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.459e-05/0.2689, allocations: 47.38 kB / 1.073 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.786e-05/0.269, allocations: 47.91 kB / 1.073 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.269, allocations: 0 / 1.073 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2691, allocations: 0 / 1.073 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.2691, allocations: 0 / 1.073 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002718/0.2693, allocations: 325.3 kB / 1.073 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.2693, allocations: 3.984 kB / 1.073 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.845e-05/0.2694, allocations: 11.94 kB / 1.073 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.2694, allocations: 0 / 1.073 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.2695, allocations: 11.98 kB / 1.073 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2695, allocations: 0 / 1.073 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2695, allocations: 0 / 1.073 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003724/0.2698, allocations: 212.4 kB / 1.074 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.762e-05/0.2699, allocations: 116.6 kB / 1.074 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.339e-05/0.27, allocations: 8 kB / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.195e-05/0.2701, allocations: 0 / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.199e-05/0.2701, allocations: 24.03 kB / 1.074 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.2702, allocations: 8 kB / 1.074 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003659/0.2705, allocations: 350.8 kB / 1.074 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.563e-06/0.2705, allocations: 0 / 1.074 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002828/0.2708, allocations: 55.94 kB / 1.074 GB, free: 3.297 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.001466/0.2723, allocations: 1.058 MB / 1.075 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002898/0.2726, allocations: 117.7 kB / 1.075 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2726, allocations: 0 / 1.075 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.2727, allocations: 39.92 kB / 1.075 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004003/0.2731, allocations: 73.8 kB / 1.075 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00376/0.2769, allocations: 3.188 MB / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.2773, allocations: 0.8221 MB / 1.079 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001205/0.2774, allocations: 37.86 kB / 1.079 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.2776, allocations: 127.4 kB / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of SimCode: time 4.21e-07/0.2776, allocations: 0 / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02635/0.304, allocations: 7.585 MB / 1.087 GB, free: 6.406 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.769/8.073, allocations: 12.53 kB / 1.087 GB, free: 6.395 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 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.csv","/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