Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001524/0.001524, allocations: 105.7 kB / 15.98 MB, free: 6.359 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.001775/0.001775, allocations: 199 kB / 16.91 MB, free: 6.191 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.345/1.345, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.403/2.403, allocations: 437 MB / 0.7107 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 63.89 kB / 0.8694 GB, free: 2.574 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2889, allocations: 151.6 MB / 1.017 GB, free: 11.01 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003932/0.2929, allocations: 2.25 MB / 1.02 GB, free: 8.742 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002104/0.295, allocations: 1.347 MB / 1.021 GB, free: 7.387 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001914/0.2952, allocations: 0 / 1.021 GB, free: 7.387 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0006528/0.2959, allocations: 179.2 kB / 1.021 GB, free: 7.211 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0004259/0.2963, allocations: 115.6 kB / 1.021 GB, free: 7.098 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004809/0.2968, allocations: 134.8 kB / 1.021 GB, free: 6.969 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003363/0.2972, allocations: 227.2 kB / 1.022 GB, free: 6.746 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.2974, allocations: 44.64 kB / 1.022 GB, free: 6.699 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.2975, allocations: 99.52 kB / 1.022 GB, free: 6.602 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/0.2977, allocations: 107.5 kB / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.452e-05/0.2978, allocations: 11.94 kB / 1.022 GB, free: 6.484 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.2979, allocations: 59.95 kB / 1.022 GB, free: 6.426 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.2981, allocations: 87.69 kB / 1.022 GB, free: 6.34 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.2982, allocations: 134.9 kB / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003626/0.2986, allocations: 271.5 kB / 1.022 GB, free: 5.941 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2986, allocations: 3.938 kB / 1.022 GB, free: 5.938 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2986, allocations: 0 / 1.022 GB, free: 5.938 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.246e-05/0.2986, allocations: 0 / 1.022 GB, free: 5.938 MB / 0.795 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.001037/0.2997, allocations: 0.6803 MB / 1.023 GB, free: 5.207 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.2997, allocations: 8.031 kB / 1.023 GB, free: 5.199 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.985e-05/0.2998, allocations: 44.38 kB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004446/0.3003, allocations: 352.3 kB / 1.023 GB, free: 4.773 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.3003, allocations: 4.375 kB / 1.023 GB, free: 4.77 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.3003, allocations: 15.88 kB / 1.023 GB, free: 4.754 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.3005, allocations: 73.59 kB / 1.024 GB, free: 4.676 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.3006, allocations: 0 / 1.024 GB, free: 4.676 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.3006, allocations: 8 kB / 1.024 GB, free: 4.668 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.3006, allocations: 4 kB / 1.024 GB, free: 4.664 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.3007, allocations: 31.98 kB / 1.024 GB, free: 4.633 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007007/0.3014, allocations: 460.5 kB / 1.024 GB, free: 4.133 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.3016, allocations: 66.67 kB / 1.024 GB, free: 4.059 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.374e-05/0.3017, allocations: 28.84 kB / 1.024 GB, free: 4.027 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.3017, allocations: 0 / 1.024 GB, free: 4.027 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/0.3019, allocations: 79.33 kB / 1.024 GB, free: 3.938 MB / 0.795 GB Notification: Performance of pre-optimization done (n=6): time 1.963e-06/0.3019, allocations: 0 / 1.024 GB, free: 3.938 MB / 0.795 GB Notification: Performance of matching and sorting (n=6): time 0.0003611/0.3023, allocations: 141.1 kB / 1.024 GB, free: 3.793 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.3023, allocations: 59.34 kB / 1.024 GB, free: 3.723 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005561/0.3029, allocations: 0.5294 MB / 1.025 GB, free: 3.184 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.3029, allocations: 29.64 kB / 1.025 GB, free: 3.148 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.3031, allocations: 220 kB / 1.025 GB, free: 2.93 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.3031, allocations: 19.75 kB / 1.025 GB, free: 2.91 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.625e-05/0.3032, allocations: 49.69 kB / 1.025 GB, free: 2.855 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.3033, allocations: 350.8 kB / 1.026 GB, free: 2.504 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.3034, allocations: 55.97 kB / 1.026 GB, free: 2.449 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.3036, allocations: 78.48 kB / 1.026 GB, free: 2.363 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.3037, allocations: 88.34 kB / 1.026 GB, free: 2.273 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3038, allocations: 3.938 kB / 1.026 GB, free: 2.27 MB / 0.795 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003162/0.3041, allocations: 197 kB / 1.026 GB, free: 2.07 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.3041, allocations: 8 kB / 1.026 GB, free: 2.062 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.3041, allocations: 4.062 kB / 1.026 GB, free: 2.059 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.3041, allocations: 0 / 1.026 GB, free: 2.059 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.3043, allocations: 27.92 kB / 1.026 GB, free: 2.031 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.3043, allocations: 0 / 1.026 GB, free: 2.031 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.3044, allocations: 20.14 kB / 1.026 GB, free: 2.012 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.3044, allocations: 4 kB / 1.026 GB, free: 2.008 MB / 0.795 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.0001705/0.3046, allocations: 185.7 kB / 1.026 GB, free: 1.816 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.9e-05/0.3047, allocations: 39.53 kB / 1.026 GB, free: 1.777 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.025e-05/0.3047, allocations: 47.8 kB / 1.026 GB, free: 1.73 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.3047, allocations: 3.938 kB / 1.026 GB, free: 1.727 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3048, allocations: 0 / 1.026 GB, free: 1.727 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.3048, allocations: 3.984 kB / 1.026 GB, free: 1.723 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002498/0.305, allocations: 305.4 kB / 1.027 GB, free: 1.375 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.305, allocations: 0 / 1.027 GB, free: 1.375 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.517e-05/0.3051, allocations: 4 kB / 1.027 GB, free: 1.371 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.3051, allocations: 0 / 1.027 GB, free: 1.371 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.3051, allocations: 0 / 1.027 GB, free: 1.371 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.3051, allocations: 3.938 kB / 1.027 GB, free: 1.367 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3051, allocations: 0 / 1.027 GB, free: 1.367 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.3053, allocations: 152.6 kB / 1.027 GB, free: 1.199 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.122e-05/0.3054, allocations: 120.5 kB / 1.027 GB, free: 1.062 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.29e-05/0.3055, allocations: 8 kB / 1.027 GB, free: 1.055 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.522e-05/0.3056, allocations: 11.92 kB / 1.027 GB, free: 1.043 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.3056, allocations: 7.984 kB / 1.027 GB, free: 1.035 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.3056, allocations: 8 kB / 1.027 GB, free: 1.027 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003775/0.306, allocations: 366.8 kB / 1.027 GB, free: 0.6719 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.7e-07/0.306, allocations: 0 / 1.027 GB, free: 0.6719 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002841/0.3063, allocations: 44 kB / 1.027 GB, free: 0.6289 MB / 0.795 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.001002/0.3073, allocations: 417 kB / 1.028 GB, free: 380 kB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002548/0.3076, allocations: 98.02 kB / 1.028 GB, free: 284 kB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3076, allocations: 0 / 1.028 GB, free: 284 kB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.896e-05/0.3077, allocations: 31.92 kB / 1.028 GB, free: 252 kB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.3081, allocations: 63.17 kB / 1.028 GB, free: 192 kB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.3092, allocations: 0.7669 MB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/0.3096, allocations: 0.8138 MB / 1.029 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.781e-05/0.3096, allocations: 15.44 kB / 1.029 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of SimCode: time 1.503e-06/0.3096, allocations: 4 kB / 1.029 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of Templates: time 0.007165/0.3168, allocations: 4.11 MB / 1.033 GB, free: 10.46 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches