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.432/1.432, allocations: 249.5 MB / 257 MB, free: 6.883 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.001047/0.001047, allocations: 183.5 kB / 316.3 MB, free: 3.242 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.508/1.508, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0008848/0.0008848, allocations: 90.83 kB / 0.6714 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.398e-05/1.398e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2018, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.394/1.596, allocations: 435.7 MB / 1.311 GB, free: 309.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001998/1.596, allocations: 96.31 kB / 1.311 GB, free: 309.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.265/3.862, allocations: 0.671 GB / 1.982 GB, free: 160.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.427e-06/3.862, allocations: 0 / 1.982 GB, free: 160.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003481/3.862, allocations: 42.42 kB / 1.982 GB, free: 160.9 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.005346/3.867, allocations: 1.711 MB / 1.984 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/3.868, allocations: 10.59 kB / 1.984 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002075/3.87, allocations: 344.7 kB / 1.984 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02019/3.89, allocations: 8.366 MB / 1.992 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-05/3.89, allocations: 32.09 kB / 1.992 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003502/3.89, allocations: 50.59 kB / 1.992 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001703/3.892, allocations: 0.6169 MB / 1.993 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00179/3.894, allocations: 0.847 MB / 1.994 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.949e-05/3.894, allocations: 1.312 kB / 1.994 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/3.894, allocations: 7.219 kB / 1.994 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/3.894, allocations: 21.59 kB / 1.994 GB, free: 159.4 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.007276/3.901, allocations: 4.565 MB / 1.998 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007201/3.902, allocations: 454.5 kB / 1.998 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003218/3.902, allocations: 234.8 kB / 1.999 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002505/3.905, allocations: 1.654 MB / 2 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004668/3.905, allocations: 358 kB / 2.001 GB, free: 156 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006523/3.906, allocations: 68.7 kB / 2.001 GB, free: 156 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=47): time 4.839e-06/3.906, allocations: 0 / 2.001 GB, free: 156 MB / 0.8698 GB Notification: Performance of matching and sorting (n=47): time 0.002054/3.908, allocations: 0.7247 MB / 2.001 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/3.908, allocations: 110.6 kB / 2.002 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/3.91, allocations: 0.9567 MB / 2.002 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.162e-05/3.91, allocations: 32.5 kB / 2.002 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005747/3.91, allocations: 0.6697 MB / 2.003 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/3.911, allocations: 151.4 kB / 2.003 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.564e-05/3.911, allocations: 2.531 kB / 2.003 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.576e-05/3.911, allocations: 331.7 kB / 2.004 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003012/3.911, allocations: 205.5 kB / 2.004 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004018/3.911, allocations: 478.3 kB / 2.004 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/3.912, allocations: 347.7 kB / 2.005 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/3.913, allocations: 3.906 kB / 2.005 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001926/3.914, allocations: 0.8979 MB / 2.005 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006656/3.915, allocations: 2.771 MB / 2.008 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/3.915, allocations: 7.094 kB / 2.008 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002956/3.915, allocations: 78.33 kB / 2.008 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006112/3.916, allocations: 155.6 kB / 2.008 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006246/3.917, allocations: 1.131 MB / 2.01 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/3.918, allocations: 72.59 kB / 2.01 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/3.918, allocations: 46.97 kB / 2.01 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/3.918, allocations: 3.344 kB / 2.01 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001606/3.92, allocations: 0.7211 MB / 2.01 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/3.92, allocations: 7.875 kB / 2.01 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001799/3.92, allocations: 76.25 kB / 2.01 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005306/3.92, allocations: 151.3 kB / 2.011 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005628/3.921, allocations: 1.147 MB / 2.012 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009516/3.922, allocations: 70.41 kB / 2.012 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.486e-05/3.922, allocations: 36.31 kB / 2.012 GB, free: 149.5 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.0002624/3.922, allocations: 174.1 kB / 2.012 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002434/3.922, allocations: 131.9 kB / 2.012 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001974/3.924, allocations: 0.8478 MB / 2.013 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/3.924, allocations: 14.59 kB / 2.013 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/3.924, allocations: 0 / 2.013 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/3.924, allocations: 0 / 2.013 GB, free: 149.2 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.003492/3.928, allocations: 1.844 MB / 2.015 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/3.928, allocations: 6.016 kB / 2.015 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004612/3.928, allocations: 107.4 kB / 2.015 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001907/3.929, allocations: 65.23 kB / 2.015 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.822e-05/3.929, allocations: 11.64 kB / 2.015 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006095/3.929, allocations: 1.138 MB / 2.016 GB, free: 147.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/3.929, allocations: 3.5 kB / 2.016 GB, free: 147.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00152/3.931, allocations: 1.021 MB / 2.017 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005386/3.931, allocations: 292 kB / 2.017 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002568/3.932, allocations: 10.39 kB / 2.017 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009055/3.933, allocations: 76.25 kB / 2.017 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/3.933, allocations: 42.09 kB / 2.017 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.408e-05/3.933, allocations: 32.42 kB / 2.017 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001122/3.934, allocations: 0.7424 MB / 2.018 GB, free: 147 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.5e-07/3.934, allocations: 0 / 2.018 GB, free: 147 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002997/3.937, allocations: 0.7299 MB / 2.019 GB, free: 146.9 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.002159/3.939, allocations: 0.966 MB / 2.02 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001816/3.941, allocations: 1.079 MB / 2.021 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/3.941, allocations: 3.812 kB / 2.021 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005468/3.942, allocations: 368.4 kB / 2.021 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002567/3.944, allocations: 0.538 MB / 2.022 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00349/3.948, allocations: 1.619 MB / 2.023 GB, free: 145.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008883/3.948, allocations: 1.233 MB / 2.025 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001996/3.951, allocations: 406.1 kB / 2.025 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002273/3.951, allocations: 80.75 kB / 2.025 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.092e-06/3.951, allocations: 0 / 2.025 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of Templates: time 0.04518/3.996, allocations: 27.92 MB / 2.052 GB, free: 144 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