Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.342/1.342, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 185.3 kB / 326.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.789/1.789, allocations: 205.4 MB / 0.5775 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009417/0.0009419, allocations: 100.7 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003194/0.0003194, allocations: 9.781 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1948, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1714/0.3662, allocations: 136.8 MB / 1.034 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/0.3665, allocations: 95.94 kB / 1.034 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02524/0.3918, allocations: 9.986 MB / 1.044 GB, free: 12.73 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3918, allocations: 4 kB / 1.044 GB, free: 12.72 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.023e-05/0.3918, allocations: 8 kB / 1.044 GB, free: 12.71 MB / 0.698 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.0008158/0.3927, allocations: 0.6511 MB / 1.044 GB, free: 12.02 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.3927, allocations: 8.031 kB / 1.044 GB, free: 12.01 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.588e-05/0.3928, allocations: 43.44 kB / 1.044 GB, free: 11.96 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004673/0.3933, allocations: 331.3 kB / 1.045 GB, free: 11.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.3933, allocations: 12 kB / 1.045 GB, free: 11.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.3933, allocations: 7.984 kB / 1.045 GB, free: 11.58 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.3935, allocations: 85.53 kB / 1.045 GB, free: 11.49 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.3935, allocations: 0 / 1.045 GB, free: 11.49 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.3935, allocations: 0 / 1.045 GB, free: 11.49 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.3935, allocations: 0 / 1.045 GB, free: 11.49 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.961e-05/0.3936, allocations: 39.92 kB / 1.045 GB, free: 11.45 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006377/0.3943, allocations: 476.4 kB / 1.045 GB, free: 10.94 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.3945, allocations: 70.61 kB / 1.045 GB, free: 10.86 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.3945, allocations: 4.109 kB / 1.045 GB, free: 10.86 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/0.3947, allocations: 83.39 kB / 1.045 GB, free: 10.76 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.3947, allocations: 0 / 1.045 GB, free: 10.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0003296/0.395, allocations: 149.1 kB / 1.045 GB, free: 10.61 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.3951, allocations: 51.41 kB / 1.046 GB, free: 10.55 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004919/0.3956, allocations: 481.2 kB / 1.046 GB, free: 10.07 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.3956, allocations: 33.7 kB / 1.046 GB, free: 10.03 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.3958, allocations: 208 kB / 1.046 GB, free: 9.824 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.3958, allocations: 27.73 kB / 1.046 GB, free: 9.797 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.335e-05/0.3958, allocations: 4 kB / 1.046 GB, free: 9.793 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.3959, allocations: 350.8 kB / 1.047 GB, free: 9.441 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.396, allocations: 55.97 kB / 1.047 GB, free: 9.387 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.3962, allocations: 86.52 kB / 1.047 GB, free: 9.293 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.3963, allocations: 59.98 kB / 1.047 GB, free: 9.234 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3963, allocations: 3.969 kB / 1.047 GB, free: 9.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003265/0.3967, allocations: 215.5 kB / 1.047 GB, free: 9.016 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.3967, allocations: 4 kB / 1.047 GB, free: 9.012 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.3967, allocations: 0 / 1.047 GB, free: 9.012 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.3967, allocations: 0 / 1.047 GB, free: 9.012 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.3968, allocations: 27.92 kB / 1.047 GB, free: 8.984 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.3969, allocations: 3.953 kB / 1.047 GB, free: 8.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.397, allocations: 19.92 kB / 1.047 GB, free: 8.961 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.603e-05/0.397, allocations: 8.031 kB / 1.047 GB, free: 8.953 MB / 0.698 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 ($whenCondition1,$PRE.TWat.tab.nextTimeEvent,$PRE.assWatTem.hys.y,assWatTem.hys.y,TWat.tab.nextTimeEvent,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001612/0.3972, allocations: 177.8 kB / 1.047 GB, free: 8.77 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.416e-05/0.3972, allocations: 43.44 kB / 1.047 GB, free: 8.727 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002581/0.3975, allocations: 141.4 kB / 1.047 GB, free: 8.578 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.3975, allocations: 112 / 1.047 GB, free: 8.578 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.3975, allocations: 7.922 kB / 1.047 GB, free: 8.57 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3975, allocations: 3.953 kB / 1.047 GB, free: 8.566 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.3978, allocations: 297.5 kB / 1.048 GB, free: 8.227 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.3978, allocations: 4 kB / 1.048 GB, free: 8.223 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.912e-05/0.3978, allocations: 4 kB / 1.048 GB, free: 8.219 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3978, allocations: 0 / 1.048 GB, free: 8.219 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.3978, allocations: 8 kB / 1.048 GB, free: 8.211 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3979, allocations: 0 / 1.048 GB, free: 8.211 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3979, allocations: 0 / 1.048 GB, free: 8.211 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.3981, allocations: 168.4 kB / 1.048 GB, free: 8.027 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.442e-05/0.3982, allocations: 108.6 kB / 1.048 GB, free: 7.902 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.997e-05/0.3982, allocations: 11.98 kB / 1.048 GB, free: 7.891 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.916e-05/0.3983, allocations: 8 kB / 1.048 GB, free: 7.883 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/0.3984, allocations: 11.92 kB / 1.048 GB, free: 7.871 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.3984, allocations: 8.234 kB / 1.048 GB, free: 7.863 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003395/0.3987, allocations: 354.8 kB / 1.048 GB, free: 7.52 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3988, allocations: 0 / 1.048 GB, free: 7.52 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002725/0.399, allocations: 55.84 kB / 1.048 GB, free: 7.465 MB / 0.698 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 (assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009763/0.4, allocations: 446.5 kB / 1.049 GB, free: 7.172 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002373/0.4003, allocations: 99.89 kB / 1.049 GB, free: 7.074 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4003, allocations: 0 / 1.049 GB, free: 7.074 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.506e-05/0.4004, allocations: 35.91 kB / 1.049 GB, free: 7.039 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.4007, allocations: 62.03 kB / 1.049 GB, free: 6.98 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009144/0.4016, allocations: 0.7106 MB / 1.05 GB, free: 6.238 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.402, allocations: 0.8258 MB / 1.05 GB, free: 5.387 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.616e-05/0.4021, allocations: 17.55 kB / 1.051 GB, free: 5.367 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.815e-05/0.4021, allocations: 23.42 kB / 1.051 GB, free: 5.348 MB / 0.698 GB Notification: Performance of SimCode: time 2.51e-07/0.4021, allocations: 0 / 1.051 GB, free: 5.348 MB / 0.698 GB Notification: Performance of Templates: time 0.006628/0.4088, allocations: 2.995 MB / 1.053 GB, free: 2.379 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches