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.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.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.001705/0.001705, allocations: 103.4 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.002118/0.002118, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.474/1.474, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.621/2.621, allocations: 461.9 MB / 0.7343 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 61.86 kB / 0.8987 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2821, allocations: 157.4 MB / 1.052 GB, free: 8.656 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003658/0.2858, allocations: 2.244 MB / 1.055 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001914/0.2877, allocations: 1.346 MB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001591/0.2879, allocations: 4 kB / 1.056 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005687/0.2885, allocations: 179.7 kB / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003371/0.2888, allocations: 111.5 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003828/0.2892, allocations: 138.4 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003175/0.2896, allocations: 235.1 kB / 1.057 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.2897, allocations: 44.59 kB / 1.057 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001658/0.2899, allocations: 99.56 kB / 1.057 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.29, allocations: 103.5 kB / 1.057 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.2901, allocations: 8 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.2902, allocations: 55.98 kB / 1.057 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.2903, allocations: 95.59 kB / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.2904, allocations: 135 kB / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003981/0.2909, allocations: 342.7 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2909, allocations: 0 / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.906e-06/0.2909, allocations: 4 kB / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.2909, allocations: 0 / 1.057 GB, free: 3.52 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009317/0.2918, allocations: 0.6802 MB / 1.058 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.2919, allocations: 12.62 kB / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.827e-05/0.2919, allocations: 38.75 kB / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.406e-05/0.292, allocations: 44.38 kB / 1.058 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004142/0.2924, allocations: 356.3 kB / 1.059 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.2925, allocations: 8.125 kB / 1.059 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.2925, allocations: 4 kB / 1.059 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.2927, allocations: 81.66 kB / 1.059 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.2927, allocations: 0 / 1.059 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.2927, allocations: 3.938 kB / 1.059 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.2927, allocations: 0 / 1.059 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.2928, allocations: 35.98 kB / 1.059 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006339/0.2935, allocations: 456.5 kB / 1.059 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.2937, allocations: 70.61 kB / 1.059 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.22e-05/0.2937, allocations: 32.78 kB / 1.059 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.2938, allocations: 0 / 1.059 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001642/0.2939, allocations: 79.38 kB / 1.059 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.2939, allocations: 4 kB / 1.059 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0003283/0.2943, allocations: 145 kB / 1.059 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.2943, allocations: 51.41 kB / 1.059 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005371/0.2949, allocations: 0.5333 MB / 1.06 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.2949, allocations: 29.7 kB / 1.06 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.295, allocations: 219.9 kB / 1.06 GB, free: 464 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.2951, allocations: 19.8 kB / 1.06 GB, free: 444 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.388e-05/0.2951, allocations: 41.7 kB / 1.06 GB, free: 396 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.2953, allocations: 358.8 kB / 1.061 GB, free: 28 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.2954, allocations: 47.97 kB / 1.061 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.2955, allocations: 76.42 kB / 1.061 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.2957, allocations: 91.89 kB / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2957, allocations: 0 / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000295/0.296, allocations: 201 kB / 1.061 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.296, allocations: 4 kB / 1.061 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.296, allocations: 0 / 1.061 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.2961, allocations: 7.938 kB / 1.061 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.2962, allocations: 27.92 kB / 1.061 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.2962, allocations: 4 kB / 1.061 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.2963, allocations: 11.89 kB / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.2963, allocations: 4 kB / 1.061 GB, free: 15.54 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.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.0001735/0.2965, allocations: 189.8 kB / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.945e-05/0.2966, allocations: 39.53 kB / 1.061 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.909e-05/0.2966, allocations: 44.05 kB / 1.061 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.2967, allocations: 7.938 kB / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.2967, allocations: 4 kB / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2967, allocations: 0 / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.2969, allocations: 297.4 kB / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.2969, allocations: 0 / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.156e-05/0.297, allocations: 0 / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.297, allocations: 4 kB / 1.062 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.297, allocations: 4.109 kB / 1.062 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.297, allocations: 15.86 kB / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.297, allocations: 0 / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.2972, allocations: 140.6 kB / 1.062 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.2e-05/0.2973, allocations: 120.5 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.834e-05/0.2974, allocations: 4 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.444e-05/0.2974, allocations: 11.92 kB / 1.062 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.2975, allocations: 15.92 kB / 1.062 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.2975, allocations: 7.938 kB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003551/0.2979, allocations: 362.8 kB / 1.062 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.61e-07/0.2979, allocations: 4 kB / 1.062 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002547/0.2981, allocations: 43.98 kB / 1.062 GB, free: 14.15 MB / 0.8262 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.00131/0.2995, allocations: 0.9906 MB / 1.063 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002323/0.2997, allocations: 99.89 kB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2997, allocations: 3.938 kB / 1.063 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.613e-05/0.2998, allocations: 31.92 kB / 1.063 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.3002, allocations: 61.66 kB / 1.063 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003574/0.3037, allocations: 3.168 MB / 1.067 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.3041, allocations: 0.8184 MB / 1.067 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.547e-05/0.3042, allocations: 33.64 kB / 1.067 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.3044, allocations: 116.4 kB / 1.067 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of SimCode: time 5.71e-07/0.3044, allocations: 0 / 1.067 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9446/1.249, allocations: 6.998 MB / 1.074 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004517/1.25, allocations: 277.5 kB / 1.075 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.321/3.57, allocations: 0 / 1.075 GB, free: 1.688 MB / 0.8262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 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.mat","/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