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.477/1.477, allocations: 249.3 MB / 261.9 MB, free: 5.797 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.001141/0.001141, allocations: 184.8 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.499/1.499, 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.0009343/0.0009345, allocations: 94.53 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.689e-05/2.692e-05, allocations: 4 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1909, allocations: 106.3 MB / 0.8918 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.282/1.473, allocations: 435.5 MB / 1.317 GB, free: 303.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/1.473, allocations: 93 kB / 1.317 GB, free: 303.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.26/3.733, allocations: 0.6744 GB / 1.992 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.242e-06/3.733, allocations: 0 / 1.992 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003011/3.733, allocations: 39.09 kB / 1.992 GB, free: 161.2 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.004746/3.738, allocations: 1.709 MB / 1.993 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/3.738, allocations: 11.62 kB / 1.993 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001917/3.74, allocations: 353.3 kB / 1.994 GB, free: 160.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01843/3.759, allocations: 8.381 MB / 2.002 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.733e-05/3.759, allocations: 71.69 kB / 2.002 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003082/3.759, allocations: 84.5 kB / 2.002 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002124/3.761, allocations: 0.9664 MB / 2.003 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/3.761, allocations: 6.125 kB / 2.003 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/3.761, allocations: 34.25 kB / 2.003 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/3.761, allocations: 20.94 kB / 2.003 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001282/3.763, allocations: 0.6515 MB / 2.004 GB, free: 159.6 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.006991/3.77, allocations: 4.741 MB / 2.008 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007097/3.77, allocations: 442.8 kB / 2.009 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003217/3.771, allocations: 244.5 kB / 2.009 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002308/3.773, allocations: 1.665 MB / 2.01 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005019/3.774, allocations: 385.8 kB / 2.011 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006002/3.774, allocations: 79.41 kB / 2.011 GB, free: 156 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=47): time 3.987e-06/3.774, allocations: 5.156 kB / 2.011 GB, free: 156 MB / 0.8698 GB Notification: Performance of matching and sorting (n=47): time 0.001344/3.776, allocations: 0.6821 MB / 2.012 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/3.776, allocations: 120.2 kB / 2.012 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001711/3.777, allocations: 1.1 MB / 2.013 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.982e-05/3.777, allocations: 36.77 kB / 2.013 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004932/3.778, allocations: 0.6494 MB / 2.013 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/3.778, allocations: 158.4 kB / 2.014 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.823e-05/3.778, allocations: 12.75 kB / 2.014 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.019e-05/3.778, allocations: 332.2 kB / 2.014 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003151/3.778, allocations: 206.4 kB / 2.014 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004299/3.779, allocations: 497.1 kB / 2.015 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003967/3.779, allocations: 303.7 kB / 2.015 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/3.779, allocations: 0 / 2.015 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001392/3.781, allocations: 0.8943 MB / 2.016 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005659/3.781, allocations: 2.781 MB / 2.018 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/3.781, allocations: 7.562 kB / 2.018 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003601/3.782, allocations: 90.58 kB / 2.019 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005968/3.782, allocations: 158.1 kB / 2.019 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005215/3.783, allocations: 1.119 MB / 2.02 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009881/3.784, allocations: 91.31 kB / 2.02 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-05/3.784, allocations: 51.5 kB / 2.02 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/3.784, allocations: 11.42 kB / 2.02 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001205/3.785, allocations: 0.7542 MB / 2.021 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/3.785, allocations: 7.062 kB / 2.021 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002442/3.785, allocations: 82.09 kB / 2.021 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005181/3.786, allocations: 155.8 kB / 2.021 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004326/3.786, allocations: 1.128 MB / 2.022 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000801/3.787, allocations: 75.8 kB / 2.022 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.719e-05/3.787, allocations: 40.06 kB / 2.022 GB, free: 149.4 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 () * 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.0001992/3.788, allocations: 187.9 kB / 2.022 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/3.788, allocations: 144.6 kB / 2.022 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/3.789, allocations: 0.894 MB / 2.023 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/3.789, allocations: 9.25 kB / 2.023 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/3.789, allocations: 0 / 2.023 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/3.789, allocations: 7.312 kB / 2.023 GB, free: 149.1 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.002771/3.792, allocations: 1.987 MB / 2.025 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/3.792, allocations: 0 / 2.025 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000458/3.793, allocations: 103.2 kB / 2.025 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002863/3.793, allocations: 74.67 kB / 2.025 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.72e-05/3.793, allocations: 23.83 kB / 2.025 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004359/3.793, allocations: 1.114 MB / 2.027 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/3.793, allocations: 3.5 kB / 2.027 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/3.795, allocations: 1.065 MB / 2.028 GB, free: 147 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000511/3.795, allocations: 299.9 kB / 2.028 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000171/3.795, allocations: 14.38 kB / 2.028 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009447/3.796, allocations: 78.59 kB / 2.028 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/3.797, allocations: 34.39 kB / 2.028 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.731e-05/3.797, allocations: 37.55 kB / 2.028 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001217/3.798, allocations: 0.8596 MB / 2.029 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.71e-07/3.798, allocations: 3.375 kB / 2.029 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002702/3.801, allocations: 0.7604 MB / 2.03 GB, free: 146.6 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) * 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.001857/3.802, allocations: 1.005 MB / 2.031 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001741/3.804, allocations: 1.116 MB / 2.032 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/3.804, allocations: 5.516 kB / 2.032 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004457/3.805, allocations: 374.4 kB / 2.032 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002542/3.807, allocations: 0.6264 MB / 2.033 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002846/3.81, allocations: 1.649 MB / 2.034 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005798/3.811, allocations: 1.242 MB / 2.036 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001727/3.812, allocations: 420.5 kB / 2.036 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001537/3.813, allocations: 81 kB / 2.036 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.152e-06/3.813, allocations: 0 / 2.036 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.04879/3.861, allocations: 35.06 MB / 2.07 GB, free: 143.4 MB / 0.8698 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