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.453/1.453, allocations: 249.5 MB / 257 MB, free: 7.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 176.6 kB / 316.3 MB, free: 3.281 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.552/1.552, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.000818/0.000818, allocations: 84.36 kB / 0.6714 GB, free: 5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.567e-05/1.571e-05, allocations: 0 / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.1934, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6633/0.8568, allocations: 134 MB / 1.016 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/0.8571, allocations: 90.25 kB / 1.016 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01519/0.8723, allocations: 5.842 MB / 1.022 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8723, allocations: 0 / 1.022 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.8723, allocations: 0 / 1.022 GB, free: 15.22 MB / 0.6511 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.0004064/0.8728, allocations: 389.7 kB / 1.022 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.8728, allocations: 8.031 kB / 1.022 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.645e-05/0.8729, allocations: 79.27 kB / 1.022 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.8731, allocations: 246.3 kB / 1.023 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.167e-05/0.8731, allocations: 151.3 kB / 1.023 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.362e-05/0.8732, allocations: 150.6 kB / 1.023 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.486e-05/0.8733, allocations: 154.6 kB / 1.023 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.632e-05/0.8733, allocations: 108.5 kB / 1.023 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/0.8734, allocations: 75.28 kB / 1.023 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.797e-05/0.8734, allocations: 154.6 kB / 1.023 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.157e-05/0.8735, allocations: 150.6 kB / 1.023 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002821/0.8738, allocations: 431.5 kB / 1.024 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 8.61e-05/0.8739, allocations: 176.8 kB / 1.024 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.675e-05/0.8739, allocations: 80.14 kB / 1.024 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.309e-05/0.874, allocations: 75.28 kB / 1.024 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.037e-05/0.874, allocations: 113.8 kB / 1.024 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.874, allocations: 0 / 1.024 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 7.498e-05/0.8741, allocations: 29.7 kB / 1.024 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.476e-05/0.8742, allocations: 128.5 kB / 1.024 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.445e-05/0.8743, allocations: 100.6 kB / 1.025 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.8743, allocations: 25.7 kB / 1.025 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.338e-05/0.8744, allocations: 80.14 kB / 1.025 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.102e-06/0.8744, allocations: 0 / 1.025 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.51e-07/0.8744, allocations: 0 / 1.025 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.8745, allocations: 314.8 kB / 1.025 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.957e-06/0.8745, allocations: 0 / 1.025 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.95e-05/0.8746, allocations: 26.25 kB / 1.025 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.373e-05/0.8746, allocations: 79.22 kB / 1.025 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.629e-05/0.8747, allocations: 75.28 kB / 1.025 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.667e-05/0.8747, allocations: 37.64 kB / 1.025 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.664e-05/0.8748, allocations: 83.28 kB / 1.025 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.624e-05/0.8748, allocations: 79.28 kB / 1.025 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.788e-05/0.8749, allocations: 154.5 kB / 1.025 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.356e-05/0.8749, allocations: 79.28 kB / 1.026 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.75e-05/0.875, allocations: 150.6 kB / 1.026 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.8751, allocations: 87.2 kB / 1.026 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/0.8751, allocations: 79.28 kB / 1.026 GB, free: 10.94 MB / 0.6511 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 () * 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.00012/0.8753, allocations: 259.2 kB / 1.026 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.85e-05/0.8753, allocations: 104.9 kB / 1.026 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.85e-05/0.8754, allocations: 108.7 kB / 1.026 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-05/0.8755, allocations: 184.2 kB / 1.026 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.285e-05/0.8756, allocations: 180.3 kB / 1.027 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.805e-05/0.8756, allocations: 180.2 kB / 1.027 GB, free: 9.898 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.8758, allocations: 385.4 kB / 1.027 GB, free: 9.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.604e-05/0.8759, allocations: 101 kB / 1.027 GB, free: 9.375 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.872e-05/0.8759, allocations: 105.9 kB / 1.027 GB, free: 9.266 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.992e-05/0.876, allocations: 180.3 kB / 1.028 GB, free: 9.082 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.262e-05/0.8761, allocations: 184.3 kB / 1.028 GB, free: 8.895 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.046e-05/0.8762, allocations: 184.2 kB / 1.028 GB, free: 8.707 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.17e-05/0.8763, allocations: 180.2 kB / 1.028 GB, free: 8.523 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.8765, allocations: 307.4 kB / 1.028 GB, free: 8.203 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.8766, allocations: 186.5 kB / 1.029 GB, free: 7.996 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.499e-05/0.8767, allocations: 184.1 kB / 1.029 GB, free: 7.812 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.8768, allocations: 104.9 kB / 1.029 GB, free: 7.703 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.154e-05/0.8769, allocations: 196.2 kB / 1.029 GB, free: 7.504 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.738e-05/0.8769, allocations: 108.9 kB / 1.029 GB, free: 7.391 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.34e-05/0.877, allocations: 75.28 kB / 1.029 GB, free: 7.316 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/0.877, allocations: 4 kB / 1.029 GB, free: 7.312 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004649/0.8774, allocations: 99.28 kB / 1.029 GB, free: 7.223 MB / 0.6511 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 () * 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.0006958/0.8781, allocations: 412 kB / 1.03 GB, free: 6.855 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 4.313e-05/0.8782, allocations: 4 kB / 1.03 GB, free: 6.852 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.8782, allocations: 4 kB / 1.03 GB, free: 6.848 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.8782, allocations: 0 / 1.03 GB, free: 6.848 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.8786, allocations: 0.5285 MB / 1.03 GB, free: 6.316 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/0.8806, allocations: 0.8054 MB / 1.031 GB, free: 5.637 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.8809, allocations: 0.6729 MB / 1.032 GB, free: 4.938 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.379e-05/0.881, allocations: 4 kB / 1.032 GB, free: 4.934 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.328e-05/0.881, allocations: 15.42 kB / 1.032 GB, free: 4.918 MB / 0.6511 GB Notification: Performance of SimCode: time 2.71e-07/0.881, allocations: 0 / 1.032 GB, free: 4.918 MB / 0.6511 GB Notification: Performance of Templates: time 0.004638/0.8856, allocations: 2.042 MB / 1.034 GB, free: 2.941 MB / 0.6511 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