Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.AssertWaterTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",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.004658/0.004658, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001042/0.001042, allocations: 196.3 kB / 16.67 MB, free: 5.934 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.29/1.29, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.624/2.624, allocations: 469.4 MB / 0.7421 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 68.11 kB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.291, allocations: 159.1 MB / 1.22 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003696/0.2947, allocations: 2.183 MB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002085/0.2968, allocations: 1.369 MB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/0.297, allocations: 7.938 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006109/0.2977, allocations: 199.4 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003651/0.298, allocations: 119.3 kB / 1.224 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003998/0.2985, allocations: 155.1 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003059/0.2988, allocations: 223.2 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.2989, allocations: 48.36 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.2991, allocations: 103.5 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.2992, allocations: 91.55 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.041e-05/0.2993, allocations: 12 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.2994, allocations: 51.97 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.2996, allocations: 99.55 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.2997, allocations: 135 kB / 1.224 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004261/0.3001, allocations: 366.2 kB / 1.225 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.3001, allocations: 0 / 1.225 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3001, allocations: 0 / 1.225 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.303e-05/0.3002, allocations: 0 / 1.225 GB, free: 9.508 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009889/0.3012, allocations: 0.6994 MB / 1.225 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.3012, allocations: 8.031 kB / 1.225 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.752e-05/0.3012, allocations: 34.75 kB / 1.225 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.077e-05/0.3013, allocations: 48.66 kB / 1.226 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004397/0.3018, allocations: 360.7 kB / 1.226 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.3018, allocations: 8.125 kB / 1.226 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.3018, allocations: 8 kB / 1.226 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.302, allocations: 73.59 kB / 1.226 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.302, allocations: 4 kB / 1.226 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.302, allocations: 4 kB / 1.226 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.3021, allocations: 4 kB / 1.226 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.912e-05/0.3022, allocations: 31.98 kB / 1.226 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006608/0.3028, allocations: 460.5 kB / 1.226 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.303, allocations: 66.61 kB / 1.227 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.014e-05/0.3031, allocations: 28.84 kB / 1.227 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.3031, allocations: 4 kB / 1.227 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001551/0.3033, allocations: 75.39 kB / 1.227 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.3033, allocations: 0 / 1.227 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.000343/0.3037, allocations: 149.2 kB / 1.227 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.3037, allocations: 51.41 kB / 1.227 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005636/0.3043, allocations: 0.5333 MB / 1.227 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.3043, allocations: 29.69 kB / 1.227 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.3045, allocations: 227.9 kB / 1.228 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.3045, allocations: 23.88 kB / 1.228 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-05/0.3046, allocations: 41.7 kB / 1.228 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.3047, allocations: 350.8 kB / 1.228 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.3048, allocations: 51.97 kB / 1.228 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.305, allocations: 74.55 kB / 1.228 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.3051, allocations: 92.2 kB / 1.228 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3051, allocations: 0 / 1.228 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003098/0.3054, allocations: 201.2 kB / 1.228 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.3055, allocations: 8 kB / 1.228 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3055, allocations: 0 / 1.228 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.3055, allocations: 3.938 kB / 1.228 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.3056, allocations: 23.98 kB / 1.228 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3056, allocations: 0 / 1.228 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.3058, allocations: 20.02 kB / 1.228 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.3058, allocations: 4 kB / 1.228 GB, free: 5.508 MB / 0.9825 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.TWat.tab.nextTimeEvent,$whenCondition1,TWat.tab.nextTimeEventScaled,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEvent,assWatTem.hys.y,$PRE.assWatTem.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001638/0.306, allocations: 188.3 kB / 1.229 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.968e-05/0.306, allocations: 43.72 kB / 1.229 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.99e-05/0.3061, allocations: 43.8 kB / 1.229 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.3061, allocations: 3.938 kB / 1.229 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3061, allocations: 0 / 1.229 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3061, allocations: 0 / 1.229 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002435/0.3064, allocations: 301.5 kB / 1.229 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3064, allocations: 4.25 kB / 1.229 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.685e-05/0.3064, allocations: 8.109 kB / 1.229 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3064, allocations: 3.938 kB / 1.229 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.3064, allocations: 0 / 1.229 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.3064, allocations: 7.922 kB / 1.229 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3064, allocations: 0 / 1.229 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.3067, allocations: 160.7 kB / 1.229 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.729e-05/0.3068, allocations: 112.8 kB / 1.229 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.166e-05/0.3068, allocations: 12 kB / 1.229 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.651e-05/0.3069, allocations: 11.92 kB / 1.229 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.307, allocations: 7.984 kB / 1.229 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.307, allocations: 8 kB / 1.229 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003705/0.3074, allocations: 362.8 kB / 1.23 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3074, allocations: 0 / 1.23 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000265/0.3077, allocations: 43.94 kB / 1.23 GB, free: 4.117 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (TWat.tab.nextTimeEventScaled,assWatTem.hys.y,TWat.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.001347/0.309, allocations: 0.9934 MB / 1.231 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002425/0.3093, allocations: 95.89 kB / 1.231 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3093, allocations: 0 / 1.231 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.585e-05/0.3094, allocations: 27.94 kB / 1.231 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.3097, allocations: 76.5 kB / 1.231 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003405/0.3131, allocations: 3.061 MB / 1.234 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.3135, allocations: 0.8138 MB / 1.235 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.106e-05/0.3136, allocations: 25.55 kB / 1.235 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.3138, allocations: 115.4 kB / 1.235 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of SimCode: time 2.61e-07/0.3138, allocations: 0 / 1.235 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02495/0.3388, allocations: 7.271 MB / 1.242 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.658/7.997, allocations: 18.56 kB / 1.242 GB, free: 7.832 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv --start-time 0 --stop-time 900 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.36 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches