Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.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.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|subSta.Q_flow|subSta.m_flow|subSta.sta_b.T|subSta.sta_a.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") translateModel(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|subSta.Q_flow|subSta.m_flow|subSta.sta_b.T|subSta.sta_a.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.396/1.396, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001243/0.001243, allocations: 176.2 kB / 326.5 MB, free: 2.234 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.878/1.878, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.001069/0.001069, allocations: 90.22 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003292/0.0003292, allocations: 9 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2244, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8641/1.089, allocations: 435.5 MB / 1.325 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/1.089, allocations: 97.89 kB / 1.326 GB, free: 14.88 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.116/3.205, allocations: 0.6766 GB / 2.002 GB, free: 45.19 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.144e-06/3.205, allocations: 0 / 2.002 GB, free: 45.19 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002685/3.206, allocations: 39.92 kB / 2.002 GB, free: 45.15 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.005786/3.211, allocations: 2.137 MB / 2.004 GB, free: 42.95 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/3.212, allocations: 8.031 kB / 2.004 GB, free: 42.94 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001763/3.213, allocations: 341.7 kB / 2.005 GB, free: 42.61 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01746/3.231, allocations: 8.456 MB / 2.013 GB, free: 34.03 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/3.231, allocations: 66 kB / 2.013 GB, free: 33.96 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003667/3.231, allocations: 92 kB / 2.013 GB, free: 33.88 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002533/3.234, allocations: 1.035 MB / 2.014 GB, free: 32.79 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/3.234, allocations: 0 / 2.014 GB, free: 32.79 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001366/3.234, allocations: 40 kB / 2.014 GB, free: 32.75 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/3.234, allocations: 20 kB / 2.014 GB, free: 32.73 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001822/3.236, allocations: 0.7728 MB / 2.015 GB, free: 31.96 MB / 0.8698 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006915/3.243, allocations: 4.741 MB / 2.019 GB, free: 26.94 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/3.244, allocations: 0.5187 MB / 2.02 GB, free: 26.41 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002277/3.246, allocations: 1.67 MB / 2.022 GB, free: 24.56 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008028/3.247, allocations: 441.3 kB / 2.022 GB, free: 24.11 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006236/3.248, allocations: 83.34 kB / 2.022 GB, free: 24.03 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=47): time 3.697e-06/3.248, allocations: 0 / 2.022 GB, free: 24.03 MB / 0.8698 GB Notification: Performance of matching and sorting (n=47): time 0.002928/3.251, allocations: 1.33 MB / 2.023 GB, free: 22.62 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/3.251, allocations: 109.3 kB / 2.023 GB, free: 22.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001881/3.253, allocations: 1.11 MB / 2.025 GB, free: 21.38 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.091e-05/3.253, allocations: 37.7 kB / 2.025 GB, free: 21.34 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000568/3.254, allocations: 0.6571 MB / 2.025 GB, free: 20.67 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/3.254, allocations: 153.8 kB / 2.025 GB, free: 20.52 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/3.254, allocations: 12 kB / 2.025 GB, free: 20.51 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.217e-05/3.254, allocations: 338 kB / 2.026 GB, free: 20.17 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006318/3.254, allocations: 269.1 kB / 2.026 GB, free: 19.91 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007367/3.255, allocations: 0.5366 MB / 2.026 GB, free: 19.25 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007143/3.256, allocations: 362 kB / 2.027 GB, free: 18.89 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/3.256, allocations: 0 / 2.027 GB, free: 18.89 MB / 0.8698 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002064/3.258, allocations: 1.023 MB / 2.028 GB, free: 17.85 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006652/3.259, allocations: 2.783 MB / 2.031 GB, free: 14.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/3.259, allocations: 8 kB / 2.031 GB, free: 14.89 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004389/3.259, allocations: 89.67 kB / 2.031 GB, free: 14.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006093/3.26, allocations: 155.8 kB / 2.031 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005526/3.26, allocations: 1.128 MB / 2.032 GB, free: 13.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/3.262, allocations: 84.05 kB / 2.032 GB, free: 13.38 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/3.262, allocations: 39.98 kB / 2.032 GB, free: 13.34 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/3.262, allocations: 4 kB / 2.032 GB, free: 13.34 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001754/3.263, allocations: 0.8733 MB / 2.033 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/3.263, allocations: 8 kB / 2.033 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002911/3.264, allocations: 86.33 kB / 2.033 GB, free: 12.36 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005187/3.264, allocations: 151.7 kB / 2.033 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005412/3.265, allocations: 1.132 MB / 2.034 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/3.266, allocations: 83.92 kB / 2.034 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/3.266, allocations: 43.98 kB / 2.034 GB, free: 10.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QCoo.a,QCoo.b,QCoo.last,$PRE.QCoo.nextEvent,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 66 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0009594/3.267, allocations: 490.9 kB / 2.035 GB, free: 10.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002983/3.267, allocations: 138.3 kB / 2.035 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002351/3.27, allocations: 1.018 MB / 2.036 GB, free: 9.223 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/3.27, allocations: 8 kB / 2.036 GB, free: 9.215 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/3.27, allocations: 0 / 2.036 GB, free: 9.215 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/3.27, allocations: 3.984 kB / 2.036 GB, free: 9.211 MB / 0.8698 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004295/3.274, allocations: 2.113 MB / 2.038 GB, free: 7.012 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/3.274, allocations: 0 / 2.038 GB, free: 7.012 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004764/3.275, allocations: 103.8 kB / 2.038 GB, free: 6.91 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003108/3.275, allocations: 81.84 kB / 2.038 GB, free: 6.824 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.564e-05/3.275, allocations: 19.98 kB / 2.038 GB, free: 6.805 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004832/3.275, allocations: 1.116 MB / 2.039 GB, free: 5.637 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/3.275, allocations: 4.031 kB / 2.039 GB, free: 5.633 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001974/3.277, allocations: 1.176 MB / 2.04 GB, free: 4.379 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009134/3.278, allocations: 295.2 kB / 2.041 GB, free: 4.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004154/3.279, allocations: 16 kB / 2.041 GB, free: 4.055 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/3.28, allocations: 87.77 kB / 2.041 GB, free: 3.969 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/3.28, allocations: 43.92 kB / 2.041 GB, free: 3.926 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.158e-05/3.28, allocations: 35.91 kB / 2.041 GB, free: 3.891 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001555/3.282, allocations: 0.8676 MB / 2.042 GB, free: 3.023 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.41e-07/3.282, allocations: 0 / 2.042 GB, free: 3.023 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002731/3.284, allocations: 0.7486 MB / 2.042 GB, free: 2.273 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QCoo.a,QCoo.b,QCoo.last,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 6 (QCoo.nextEvent,QCoo.last,QCoo.nextEventScaled,QCoo.b,QCoo.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001679/3.286, allocations: 1.011 MB / 2.043 GB, free: 1.285 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002424/3.289, allocations: 1.248 MB / 2.045 GB, free: 16 kB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/3.289, allocations: 0 / 2.045 GB, free: 16 kB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009025/3.289, allocations: 438 kB / 2.045 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002784/3.292, allocations: 0.6199 MB / 2.046 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004263/3.297, allocations: 2.653 MB / 2.048 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007976/3.297, allocations: 1.23 MB / 2.049 GB, free: 10.99 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001405/3.299, allocations: 301.4 kB / 2.05 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002201/3.299, allocations: 103.3 kB / 2.05 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of SimCode: time 1.984e-06/3.299, allocations: 0 / 2.05 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of Templates: time 0.5338/3.833, allocations: 31.03 MB / 2.08 GB, free: 141.2 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.makefile (rm -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.sim & ./Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Experimental_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation.csv","../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches