Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001488/0.001489, allocations: 103 kB / 15.98 MB, free: 6.348 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.001468/0.001468, allocations: 197.7 kB / 16.91 MB, free: 6.188 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.348/1.348, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.549/2.549, allocations: 469.8 MB / 0.7427 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 67.86 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2962, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003918/0.3002, allocations: 2.242 MB / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002224/0.3024, allocations: 1.335 MB / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.3026, allocations: 0 / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006221/0.3033, allocations: 187.7 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002963/0.3036, allocations: 119.5 kB / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003744/0.304, allocations: 127.1 kB / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003092/0.3043, allocations: 235.1 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.3044, allocations: 44.66 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.3046, allocations: 99.5 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.3047, allocations: 95.56 kB / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.924e-05/0.3048, allocations: 15.94 kB / 1.069 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.3049, allocations: 55.89 kB / 1.069 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.305, allocations: 91.67 kB / 1.069 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.3051, allocations: 135 kB / 1.069 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003127/0.3055, allocations: 275.5 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.3055, allocations: 3.938 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3055, allocations: 0 / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.3055, allocations: 0 / 1.069 GB, free: 10.07 MB / 0.8419 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.001006/0.3065, allocations: 0.6763 MB / 1.07 GB, free: 9.34 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.3065, allocations: 8.625 kB / 1.07 GB, free: 9.332 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.175e-05/0.3066, allocations: 48.36 kB / 1.07 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004484/0.3071, allocations: 348.3 kB / 1.07 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.3071, allocations: 4.375 kB / 1.07 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.3071, allocations: 11.94 kB / 1.07 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.3073, allocations: 81.53 kB / 1.07 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.3073, allocations: 0 / 1.07 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.3074, allocations: 4 kB / 1.07 GB, free: 8.801 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.3074, allocations: 0 / 1.07 GB, free: 8.801 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.3075, allocations: 35.97 kB / 1.07 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007043/0.3082, allocations: 456.5 kB / 1.071 GB, free: 8.27 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.3084, allocations: 74.61 kB / 1.071 GB, free: 8.188 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.79e-05/0.3085, allocations: 28.84 kB / 1.071 GB, free: 8.156 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.3085, allocations: 0 / 1.071 GB, free: 8.156 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001764/0.3087, allocations: 79.38 kB / 1.071 GB, free: 8.066 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.3087, allocations: 0 / 1.071 GB, free: 8.066 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6): time 0.0003711/0.3091, allocations: 145 kB / 1.071 GB, free: 7.918 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.3091, allocations: 59.33 kB / 1.071 GB, free: 7.848 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000617/0.3098, allocations: 0.5294 MB / 1.072 GB, free: 7.309 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.3098, allocations: 25.7 kB / 1.072 GB, free: 7.277 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.31, allocations: 216 kB / 1.072 GB, free: 7.062 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.31, allocations: 27.73 kB / 1.072 GB, free: 7.035 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.76e-05/0.3101, allocations: 37.7 kB / 1.072 GB, free: 6.992 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001763/0.3103, allocations: 354.8 kB / 1.072 GB, free: 6.637 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.3104, allocations: 51.97 kB / 1.072 GB, free: 6.586 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.3105, allocations: 78.45 kB / 1.072 GB, free: 6.5 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.3107, allocations: 90.03 kB / 1.072 GB, free: 6.406 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3107, allocations: 3.938 kB / 1.072 GB, free: 6.402 MB / 0.8419 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003323/0.311, allocations: 194.7 kB / 1.073 GB, free: 6.207 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.3111, allocations: 11.88 kB / 1.073 GB, free: 6.195 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.3111, allocations: 0 / 1.073 GB, free: 6.195 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.3111, allocations: 4 kB / 1.073 GB, free: 6.191 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.3112, allocations: 23.92 kB / 1.073 GB, free: 6.168 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.914e-06/0.3112, allocations: 4 kB / 1.073 GB, free: 6.164 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.3114, allocations: 15.89 kB / 1.073 GB, free: 6.148 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.3114, allocations: 8.031 kB / 1.073 GB, free: 6.141 MB / 0.8419 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.0001847/0.3116, allocations: 185 kB / 1.073 GB, free: 5.953 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.419e-05/0.3116, allocations: 47.42 kB / 1.073 GB, free: 5.906 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.178e-05/0.3117, allocations: 43.8 kB / 1.073 GB, free: 5.859 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.3117, allocations: 7.938 kB / 1.073 GB, free: 5.852 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3117, allocations: 0 / 1.073 GB, free: 5.852 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.3118, allocations: 0 / 1.073 GB, free: 5.852 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002792/0.312, allocations: 301.5 kB / 1.073 GB, free: 5.508 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.312, allocations: 0 / 1.073 GB, free: 5.508 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.155e-05/0.3121, allocations: 8 kB / 1.073 GB, free: 5.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.3121, allocations: 0 / 1.073 GB, free: 5.5 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.3121, allocations: 3.984 kB / 1.073 GB, free: 5.496 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.3121, allocations: 3.938 kB / 1.073 GB, free: 5.492 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3121, allocations: 0 / 1.073 GB, free: 5.492 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.3124, allocations: 144.6 kB / 1.073 GB, free: 5.332 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.3125, allocations: 120.4 kB / 1.073 GB, free: 5.195 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.058e-05/0.3125, allocations: 8 kB / 1.073 GB, free: 5.188 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.01e-05/0.3126, allocations: 15.92 kB / 1.073 GB, free: 5.172 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.3126, allocations: 7.984 kB / 1.073 GB, free: 5.164 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.3127, allocations: 0 / 1.073 GB, free: 5.164 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003957/0.3131, allocations: 366.8 kB / 1.074 GB, free: 4.809 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.01e-07/0.3131, allocations: 0 / 1.074 GB, free: 4.809 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002561/0.3133, allocations: 43.98 kB / 1.074 GB, free: 4.766 MB / 0.8419 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.001509/0.3148, allocations: 420.9 kB / 1.074 GB, free: 4.504 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002645/0.3151, allocations: 106.7 kB / 1.074 GB, free: 4.402 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3151, allocations: 0 / 1.074 GB, free: 4.402 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 7.462e-05/0.3152, allocations: 20 kB / 1.074 GB, free: 4.383 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.3156, allocations: 57.67 kB / 1.074 GB, free: 4.328 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.3167, allocations: 0.7746 MB / 1.075 GB, free: 3.516 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004522/0.3172, allocations: 0.8138 MB / 1.076 GB, free: 2.676 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.22e-05/0.3172, allocations: 23.42 kB / 1.076 GB, free: 2.652 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.3172, allocations: 0 / 1.076 GB, free: 2.652 MB / 0.8419 GB Notification: Performance of Templates: time 0.4254/0.7427, allocations: 4.112 MB / 1.08 GB, free: 21.29 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches