Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.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.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QHea_flow|QCoo_flow|QWatHea_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad") translateModel(Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QHea_flow|QCoo_flow|QWatHea_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.374/1.374, 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.001076/0.001076, allocations: 182.8 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.039/2.039, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.0009556/0.0009553, allocations: 92.64 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000333/0.000333, allocations: 6.031 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2418, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1858/0.4276, allocations: 133.8 MB / 1.031 GB, free: 9.984 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/0.4279, allocations: 103.9 kB / 1.031 GB, free: 9.883 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01581/0.4438, allocations: 6.148 MB / 1.037 GB, free: 3.73 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.794e-06/0.4438, allocations: 4 kB / 1.037 GB, free: 3.727 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.4438, allocations: 0 / 1.037 GB, free: 3.727 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004802/0.4443, allocations: 387.3 kB / 1.037 GB, free: 3.301 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.4444, allocations: 8.031 kB / 1.037 GB, free: 3.293 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.884e-05/0.4444, allocations: 79.28 kB / 1.037 GB, free: 3.215 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.4446, allocations: 242.3 kB / 1.038 GB, free: 2.938 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.03e-05/0.4447, allocations: 150.6 kB / 1.038 GB, free: 2.789 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.626e-05/0.4447, allocations: 154.6 kB / 1.038 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.806e-05/0.4448, allocations: 104.9 kB / 1.038 GB, free: 2.527 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.869e-05/0.4448, allocations: 75.28 kB / 1.038 GB, free: 2.453 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.195e-05/0.4449, allocations: 158.6 kB / 1.038 GB, free: 2.297 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.082e-05/0.445, allocations: 150.6 kB / 1.038 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.341e-05/0.4451, allocations: 154.6 kB / 1.038 GB, free: 1.996 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003116/0.4454, allocations: 453.9 kB / 1.039 GB, free: 1.504 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.755e-05/0.4455, allocations: 177.1 kB / 1.039 GB, free: 1.32 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.072e-05/0.4455, allocations: 79.22 kB / 1.039 GB, free: 1.242 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.862e-05/0.4456, allocations: 109.8 kB / 1.039 GB, free: 1.125 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/0.4456, allocations: 0 / 1.039 GB, free: 1.125 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 7.843e-05/0.4457, allocations: 29.7 kB / 1.039 GB, free: 1.09 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.4458, allocations: 211.8 kB / 1.039 GB, free: 0.8516 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.507e-05/0.4459, allocations: 89 kB / 1.04 GB, free: 0.7578 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.4459, allocations: 29.64 kB / 1.04 GB, free: 0.7227 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.308e-05/0.446, allocations: 80.14 kB / 1.04 GB, free: 0.6406 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.446, allocations: 0 / 1.04 GB, free: 0.6406 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.4e-07/0.446, allocations: 4 kB / 1.04 GB, free: 0.6367 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.4461, allocations: 314.8 kB / 1.04 GB, free: 328 kB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.517e-06/0.4461, allocations: 0 / 1.04 GB, free: 328 kB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.296e-05/0.4461, allocations: 22.56 kB / 1.04 GB, free: 296 kB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.423e-05/0.4462, allocations: 79.28 kB / 1.04 GB, free: 216 kB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-05/0.4462, allocations: 75.28 kB / 1.04 GB, free: 140 kB / 0.6823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.759e-05/0.4463, allocations: 33.66 kB / 1.04 GB, free: 100 kB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.218e-05/0.4463, allocations: 83.28 kB / 1.04 GB, free: 16 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.762e-05/0.4464, allocations: 79.22 kB / 1.04 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.708e-05/0.4465, allocations: 150.6 kB / 1.04 GB, free: 15.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.255e-05/0.4465, allocations: 83.22 kB / 1.041 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-05/0.4466, allocations: 158.5 kB / 1.041 GB, free: 15.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.4467, allocations: 79.28 kB / 1.041 GB, free: 15.47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.543e-05/0.4468, allocations: 83.22 kB / 1.041 GB, free: 15.39 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001314/0.4469, allocations: 256.4 kB / 1.041 GB, free: 15.13 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.157e-05/0.447, allocations: 108.9 kB / 1.041 GB, free: 15.02 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.619e-05/0.447, allocations: 116.3 kB / 1.041 GB, free: 14.89 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.527e-05/0.4471, allocations: 180.3 kB / 1.041 GB, free: 14.71 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.971e-05/0.4472, allocations: 185 kB / 1.042 GB, free: 14.52 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.286e-05/0.4473, allocations: 184.3 kB / 1.042 GB, free: 14.34 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.4475, allocations: 405.2 kB / 1.042 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-05/0.4476, allocations: 104.9 kB / 1.042 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.111e-05/0.4476, allocations: 101 kB / 1.042 GB, free: 13.67 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.433e-05/0.4477, allocations: 192.1 kB / 1.043 GB, free: 13.47 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.368e-05/0.4478, allocations: 180.3 kB / 1.043 GB, free: 13.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.735e-05/0.4478, allocations: 180.5 kB / 1.043 GB, free: 13.11 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.721e-05/0.4479, allocations: 180.2 kB / 1.043 GB, free: 12.92 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001439/0.4481, allocations: 315.7 kB / 1.043 GB, free: 12.59 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.78e-05/0.4482, allocations: 194.1 kB / 1.044 GB, free: 12.38 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.284e-05/0.4483, allocations: 180.2 kB / 1.044 GB, free: 12.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.4484, allocations: 112.9 kB / 1.044 GB, free: 12.07 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.262e-05/0.4485, allocations: 176.3 kB / 1.044 GB, free: 11.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.768e-05/0.4485, allocations: 104.9 kB / 1.044 GB, free: 11.79 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.185e-05/0.4486, allocations: 91.22 kB / 1.044 GB, free: 11.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4486, allocations: 0 / 1.044 GB, free: 11.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005071/0.4491, allocations: 99.89 kB / 1.044 GB, free: 11.6 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.000754/0.4499, allocations: 413.6 kB / 1.045 GB, free: 11.23 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 4.724e-05/0.4499, allocations: 0 / 1.045 GB, free: 11.23 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.4499, allocations: 4 kB / 1.045 GB, free: 11.23 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.4499, allocations: 0 / 1.045 GB, free: 11.23 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.4503, allocations: 0.5224 MB / 1.045 GB, free: 10.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/0.4525, allocations: 0.8715 MB / 1.046 GB, free: 9.809 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.4527, allocations: 0.677 MB / 1.047 GB, free: 9.105 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.225e-05/0.4528, allocations: 7.938 kB / 1.047 GB, free: 9.098 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.072e-05/0.4528, allocations: 11.44 kB / 1.047 GB, free: 9.086 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/0.4528, allocations: 3.938 kB / 1.047 GB, free: 9.082 MB / 0.698 GB Notification: Performance of Templates: time 0.004788/0.4576, allocations: 2.024 MB / 1.049 GB, free: 7.109 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.makefile (rm -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Experimental_DistrictHeatingCooling_SubStations_VaporCompression_BaseClasses_Validation_GetPeakLoad.csv","../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches