Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_11_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.001412/0.001412, allocations: 107.3 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.001367/0.001367, allocations: 195.8 kB / 16.26 MB, free: 6.633 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.266/1.266, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.564/2.564, allocations: 469.8 MB / 0.7421 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 62.23 kB / 0.9082 GB, free: 34.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2548, allocations: 159.2 MB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.005049/0.2599, allocations: 2.312 MB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003013/0.2629, allocations: 1.417 MB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001548/0.2631, allocations: 7.938 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007146/0.2638, allocations: 180 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004122/0.2642, allocations: 119.5 kB / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003436/0.2646, allocations: 145.6 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003035/0.2649, allocations: 271.1 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.265, allocations: 56.66 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001472/0.2652, allocations: 111.5 kB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.2654, allocations: 119.3 kB / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.265e-05/0.2654, allocations: 16 kB / 1.068 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.2655, allocations: 55.97 kB / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.751e-05/0.2656, allocations: 103.6 kB / 1.068 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001209/0.2657, allocations: 142.9 kB / 1.069 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003808/0.2661, allocations: 398.5 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.2661, allocations: 0 / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.62e-07/0.2661, allocations: 0 / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.2662, allocations: 0 / 1.069 GB, free: 9.141 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.000893/0.2671, allocations: 0.6996 MB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.2671, allocations: 16.03 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.223e-05/0.2671, allocations: 34.75 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.287e-05/0.2672, allocations: 56.27 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004499/0.2677, allocations: 404.1 kB / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.2677, allocations: 12.12 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.2677, allocations: 4 kB / 1.07 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.2679, allocations: 99.41 kB / 1.07 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.2679, allocations: 0 / 1.07 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.268, allocations: 4 kB / 1.07 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.268, allocations: 4 kB / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.2681, allocations: 55.91 kB / 1.07 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006811/0.2688, allocations: 488.5 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003157/0.2691, allocations: 114.6 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.829e-05/0.2692, allocations: 36.84 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.2692, allocations: 4 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001601/0.2694, allocations: 79.38 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.2694, allocations: 7.938 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0003465/0.2697, allocations: 177 kB / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.2698, allocations: 55.34 kB / 1.071 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004933/0.2703, allocations: 0.4988 MB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.2703, allocations: 29.7 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.2705, allocations: 220.4 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.601e-05/0.2705, allocations: 39.72 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.984e-05/0.2706, allocations: 41.7 kB / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.2708, allocations: 366.8 kB / 1.072 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.2709, allocations: 47.92 kB / 1.072 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.271, allocations: 76.42 kB / 1.072 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.2712, allocations: 97.31 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.2712, allocations: 3.938 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003211/0.2715, allocations: 216.9 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.2715, allocations: 7.984 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.2715, allocations: 0 / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.2716, allocations: 4 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.2717, allocations: 35.92 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.2717, allocations: 0 / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.2718, allocations: 15.98 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.2719, allocations: 4 kB / 1.073 GB, free: 4.898 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.0001752/0.272, allocations: 193.7 kB / 1.073 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.619e-05/0.2721, allocations: 47.38 kB / 1.073 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.116e-05/0.2722, allocations: 51.91 kB / 1.073 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.2722, allocations: 4 kB / 1.073 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2722, allocations: 4 kB / 1.073 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.2722, allocations: 3.984 kB / 1.073 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002709/0.2725, allocations: 321.3 kB / 1.073 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2725, allocations: 4 kB / 1.073 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.768e-05/0.2725, allocations: 4 kB / 1.073 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.2726, allocations: 4 kB / 1.073 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.2726, allocations: 7.984 kB / 1.073 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2726, allocations: 0 / 1.073 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2726, allocations: 0 / 1.073 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003427/0.2729, allocations: 216.4 kB / 1.074 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.835e-05/0.273, allocations: 116.6 kB / 1.074 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.699e-05/0.2731, allocations: 4 kB / 1.074 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.249e-05/0.2731, allocations: 4 kB / 1.074 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.2732, allocations: 20.03 kB / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.2732, allocations: 4 kB / 1.074 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003434/0.2736, allocations: 354.8 kB / 1.074 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.733e-06/0.2736, allocations: 96 / 1.074 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002339/0.2738, allocations: 51.88 kB / 1.074 GB, free: 3.418 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.001813/0.2756, allocations: 1.07 MB / 1.075 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002586/0.2759, allocations: 111.9 kB / 1.075 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.2759, allocations: 0 / 1.075 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.144e-05/0.276, allocations: 47.91 kB / 1.075 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.2764, allocations: 63.41 kB / 1.075 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003577/0.2799, allocations: 3.257 MB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.2804, allocations: 0.8228 MB / 1.079 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001014/0.2805, allocations: 33.88 kB / 1.079 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.2806, allocations: 135.4 kB / 1.08 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.2806, allocations: 0 / 1.08 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9187/1.199, allocations: 7.434 MB / 1.087 GB, free: 6.637 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004689/1.2, allocations: 257.3 kB / 1.087 GB, free: 6.375 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.526/3.726, allocations: 4 kB / 1.087 GB, free: 6.371 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow_fmu --startTime=0 --stopTime=1200 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches