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.437/1.437, allocations: 249.3 MB / 261.8 MB, free: 5.973 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.001043/0.001043, allocations: 184.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.515/1.515, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0008439/0.0008442, allocations: 86.47 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.766e-05/4.768e-05, allocations: 0 / 0.788 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1974, allocations: 106.3 MB / 0.8918 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7024/0.8998, allocations: 133.7 MB / 1.022 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/0.9001, allocations: 97.48 kB / 1.022 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01557/0.9156, allocations: 5.962 MB / 1.028 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9157, allocations: 0 / 1.028 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.9157, allocations: 0 / 1.028 GB, free: 12.3 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.0004778/0.9162, allocations: 373.9 kB / 1.029 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.9162, allocations: 12.03 kB / 1.029 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.657e-05/0.9163, allocations: 79.28 kB / 1.029 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.9165, allocations: 245.4 kB / 1.029 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.937e-05/0.9165, allocations: 150.6 kB / 1.029 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.13e-05/0.9166, allocations: 154.6 kB / 1.029 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.6e-05/0.9167, allocations: 105.9 kB / 1.029 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.589e-05/0.9167, allocations: 75.28 kB / 1.029 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.067e-05/0.9168, allocations: 154.6 kB / 1.03 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.965e-05/0.9169, allocations: 150.6 kB / 1.03 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.492e-05/0.9169, allocations: 154.1 kB / 1.03 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002956/0.9172, allocations: 449.9 kB / 1.03 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 9.821e-05/0.9173, allocations: 176.3 kB / 1.03 GB, free: 9.922 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.311e-05/0.9174, allocations: 80.14 kB / 1.031 GB, free: 9.84 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.491e-05/0.9174, allocations: 75.28 kB / 1.031 GB, free: 9.766 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.2e-05/0.9175, allocations: 109.8 kB / 1.031 GB, free: 9.648 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.9175, allocations: 0 / 1.031 GB, free: 9.648 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 7.712e-05/0.9176, allocations: 29.75 kB / 1.031 GB, free: 9.613 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.9177, allocations: 214.8 kB / 1.031 GB, free: 9.375 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.9178, allocations: 96.92 kB / 1.031 GB, free: 9.273 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.9178, allocations: 29.7 kB / 1.031 GB, free: 9.238 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/0.9179, allocations: 82.95 kB / 1.031 GB, free: 9.156 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-06/0.9179, allocations: 0 / 1.031 GB, free: 9.156 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.4e-07/0.9179, allocations: 0 / 1.031 GB, free: 9.156 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.918, allocations: 310.8 kB / 1.031 GB, free: 8.844 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.496e-06/0.918, allocations: 0 / 1.031 GB, free: 8.844 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.295e-05/0.918, allocations: 22.77 kB / 1.031 GB, free: 8.812 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.19e-05/0.9181, allocations: 75.28 kB / 1.032 GB, free: 8.738 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.788e-05/0.9181, allocations: 82.48 kB / 1.032 GB, free: 8.66 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.481e-05/0.9182, allocations: 37.62 kB / 1.032 GB, free: 8.617 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.052e-05/0.9182, allocations: 83.28 kB / 1.032 GB, free: 8.535 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.526e-05/0.9183, allocations: 75.28 kB / 1.032 GB, free: 8.461 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.608e-05/0.9183, allocations: 154.6 kB / 1.032 GB, free: 8.309 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.595e-05/0.9184, allocations: 83.2 kB / 1.032 GB, free: 8.227 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.311e-05/0.9185, allocations: 162.5 kB / 1.032 GB, free: 8.066 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.9186, allocations: 86.58 kB / 1.032 GB, free: 7.984 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/0.9186, allocations: 75.28 kB / 1.032 GB, free: 7.91 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.0001204/0.9188, allocations: 259.5 kB / 1.033 GB, free: 7.648 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.356e-05/0.9188, allocations: 108.9 kB / 1.033 GB, free: 7.535 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.878e-05/0.9189, allocations: 108 kB / 1.033 GB, free: 7.422 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.09e-05/0.919, allocations: 183.4 kB / 1.033 GB, free: 7.238 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.471e-05/0.919, allocations: 180.2 kB / 1.033 GB, free: 7.055 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.048e-05/0.9191, allocations: 180.3 kB / 1.033 GB, free: 6.871 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.9194, allocations: 409.5 kB / 1.034 GB, free: 6.418 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.401e-05/0.9194, allocations: 105 kB / 1.034 GB, free: 6.309 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.642e-05/0.9195, allocations: 112.9 kB / 1.034 GB, free: 6.191 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.969e-05/0.9195, allocations: 180.2 kB / 1.034 GB, free: 6.008 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.338e-05/0.9196, allocations: 176.3 kB / 1.034 GB, free: 5.828 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.326e-05/0.9197, allocations: 187.3 kB / 1.034 GB, free: 5.641 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-05/0.9198, allocations: 184.3 kB / 1.035 GB, free: 5.453 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.9199, allocations: 306.8 kB / 1.035 GB, free: 5.133 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.54e-05/0.92, allocations: 182.1 kB / 1.035 GB, free: 4.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.947e-05/0.9201, allocations: 195 kB / 1.035 GB, free: 4.734 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.9202, allocations: 105 kB / 1.035 GB, free: 4.625 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.7e-05/0.9203, allocations: 184.2 kB / 1.036 GB, free: 4.438 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.071e-05/0.9204, allocations: 108.9 kB / 1.036 GB, free: 4.324 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.094e-05/0.9204, allocations: 82.78 kB / 1.036 GB, free: 4.246 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9204, allocations: 0 / 1.036 GB, free: 4.246 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005335/0.921, allocations: 91.34 kB / 1.036 GB, free: 4.16 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.000732/0.9217, allocations: 417.8 kB / 1.036 GB, free: 3.785 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 5.688e-05/0.9218, allocations: 7.312 kB / 1.036 GB, free: 3.781 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.9218, allocations: 0 / 1.036 GB, free: 3.781 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.094e-06/0.9218, allocations: 0 / 1.036 GB, free: 3.781 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.9221, allocations: 0.5279 MB / 1.037 GB, free: 3.25 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002098/0.9242, allocations: 0.8068 MB / 1.038 GB, free: 2.559 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.9245, allocations: 0.6731 MB / 1.038 GB, free: 1.859 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.598e-05/0.9245, allocations: 3.984 kB / 1.038 GB, free: 1.855 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.036e-05/0.9246, allocations: 11.44 kB / 1.038 GB, free: 1.844 MB / 0.6511 GB Notification: Performance of SimCode: time 2.41e-07/0.9246, allocations: 0 / 1.038 GB, free: 1.844 MB / 0.6511 GB Notification: Performance of Templates: time 0.004847/0.9294, allocations: 2.054 MB / 1.04 GB, free: 15.85 MB / 0.6667 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