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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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: 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_latest_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_latest_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.007528/0.007528, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.001623/0.001623, allocations: 193.5 kB / 16.79 MB, free: 5.809 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.433/1.433, allocations: 222.9 MB / 240.5 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.701/2.701, allocations: 461.8 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 62.7 kB / 0.899 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2889, allocations: 157.4 MB / 1.053 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003648/0.2926, allocations: 2.234 MB / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002102/0.2948, allocations: 1.354 MB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001699/0.2949, allocations: 0 / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006079/0.2956, allocations: 187.7 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003212/0.2959, allocations: 119.5 kB / 1.057 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004343/0.2964, allocations: 123.8 kB / 1.057 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003328/0.2967, allocations: 223.1 kB / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.2969, allocations: 40.66 kB / 1.057 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001813/0.2971, allocations: 87.56 kB / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.2972, allocations: 99.42 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.572e-05/0.2973, allocations: 8 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.2974, allocations: 39.97 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.2976, allocations: 83.69 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.2977, allocations: 134.9 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003121/0.298, allocations: 271.4 kB / 1.058 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.298, allocations: 0 / 1.058 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.172e-06/0.298, allocations: 0 / 1.058 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.298, allocations: 4 kB / 1.058 GB, free: 3.301 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.001054/0.2991, allocations: 0.6725 MB / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.2992, allocations: 15.97 kB / 1.058 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.171e-05/0.2993, allocations: 44.38 kB / 1.058 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004405/0.2997, allocations: 356.2 kB / 1.059 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.2997, allocations: 4.375 kB / 1.059 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.2998, allocations: 15.88 kB / 1.059 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.3, allocations: 73.66 kB / 1.059 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.3, allocations: 4 kB / 1.059 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.3, allocations: 4 kB / 1.059 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.3, allocations: 0 / 1.059 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.3001, allocations: 31.98 kB / 1.059 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007556/0.3009, allocations: 460.5 kB / 1.059 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.3011, allocations: 70.67 kB / 1.059 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.383e-05/0.3012, allocations: 28.84 kB / 1.059 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.3012, allocations: 0 / 1.059 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/0.3014, allocations: 75.31 kB / 1.059 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.904e-06/0.3014, allocations: 4 kB / 1.059 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0003721/0.3018, allocations: 141.2 kB / 1.06 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.3018, allocations: 63.28 kB / 1.06 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005856/0.3024, allocations: 0.5255 MB / 1.06 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.3025, allocations: 33.69 kB / 1.06 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.3027, allocations: 219.9 kB / 1.06 GB, free: 292 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.3027, allocations: 27.72 kB / 1.06 GB, free: 264 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.795e-05/0.3028, allocations: 33.7 kB / 1.06 GB, free: 224 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.3029, allocations: 362.8 kB / 1.061 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.3031, allocations: 47.97 kB / 1.061 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.3032, allocations: 78.48 kB / 1.061 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.3034, allocations: 85.7 kB / 1.061 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3034, allocations: 0 / 1.061 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003197/0.3037, allocations: 203.4 kB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.3037, allocations: 5.719 kB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.3037, allocations: 0 / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.3038, allocations: 0 / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.3039, allocations: 31.91 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3039, allocations: 0 / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.304, allocations: 19.89 kB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.3041, allocations: 4 kB / 1.061 GB, free: 15.37 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.0001762/0.3042, allocations: 182.7 kB / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.113e-05/0.3043, allocations: 39.53 kB / 1.061 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.075e-05/0.3044, allocations: 47.8 kB / 1.061 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.3044, allocations: 3.938 kB / 1.061 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3044, allocations: 0 / 1.061 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3044, allocations: 0 / 1.061 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002473/0.3047, allocations: 301.4 kB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3047, allocations: 0 / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.52e-05/0.3047, allocations: 4.25 kB / 1.062 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.3047, allocations: 0 / 1.062 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.3047, allocations: 8 kB / 1.062 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.3047, allocations: 7.938 kB / 1.062 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3048, allocations: 0 / 1.062 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.305, allocations: 152.6 kB / 1.062 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.196e-05/0.3051, allocations: 116.5 kB / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/0.3051, allocations: 4 kB / 1.062 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.794e-05/0.3052, allocations: 11.92 kB / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.378e-05/0.3053, allocations: 11.92 kB / 1.062 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.3053, allocations: 8 kB / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003676/0.3057, allocations: 362.8 kB / 1.062 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3057, allocations: 0 / 1.062 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002698/0.306, allocations: 43.98 kB / 1.062 GB, free: 14 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.001008/0.307, allocations: 414.3 kB / 1.063 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002613/0.3073, allocations: 87.91 kB / 1.063 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3073, allocations: 4.062 kB / 1.063 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.297e-05/0.3074, allocations: 31.97 kB / 1.063 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/0.3078, allocations: 53.92 kB / 1.063 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.3089, allocations: 0.7645 MB / 1.064 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/0.3093, allocations: 0.818 MB / 1.065 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.81e-05/0.3094, allocations: 27.42 kB / 1.065 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.3094, allocations: 0 / 1.065 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of Templates: time 0.006786/0.3162, allocations: 4.119 MB / 1.069 GB, free: 7.816 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (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 & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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