Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|coo.TSet|coo.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|coo.TSet|coo.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.441/2.441, allocations: 390.3 MB / 405.3 MB, free: 13.53 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 177.1 kB / 498.1 MB, free: 5.746 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.669/1.669, allocations: 223.2 MB / 0.7948 GB, free: 17.95 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 102.8 kB / 0.9346 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003683/0.0003685, allocations: 6.938 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3208, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.174/1.495, allocations: 453.3 MB / 1.666 GB, free: 8.164 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/1.496, allocations: 101.4 kB / 1.666 GB, free: 8.113 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.317/5.812, allocations: 1.186 GB / 2.851 GB, free: 211.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.445e-06/5.812, allocations: 0 / 2.851 GB, free: 211.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004278/5.813, allocations: 57.67 kB / 2.851 GB, free: 211.3 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.008078/5.821, allocations: 2.519 MB / 2.854 GB, free: 210.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/5.821, allocations: 11.03 kB / 2.854 GB, free: 210.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003224/5.824, allocations: 0.5316 MB / 2.854 GB, free: 210.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00754/5.832, allocations: 2.319 MB / 2.857 GB, free: 209.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001525/5.832, allocations: 92.86 kB / 2.857 GB, free: 209.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004523/5.832, allocations: 130.6 kB / 2.857 GB, free: 209.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003629/5.836, allocations: 1.311 MB / 2.858 GB, free: 209.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.484e-05/5.836, allocations: 3.953 kB / 2.858 GB, free: 209.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001933/5.836, allocations: 44.84 kB / 2.858 GB, free: 209.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.724e-05/5.836, allocations: 46.2 kB / 2.858 GB, free: 209.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00258/5.839, allocations: 1.008 MB / 2.859 GB, free: 209.6 MB / 1.167 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.01051/5.849, allocations: 6.97 MB / 2.866 GB, free: 205.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001997/5.851, allocations: 1.309 MB / 2.867 GB, free: 205 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005638/5.857, allocations: 3.041 MB / 2.87 GB, free: 203.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009189/5.858, allocations: 438.2 kB / 2.871 GB, free: 203 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008407/5.859, allocations: 82.78 kB / 2.871 GB, free: 203 MB / 1.167 GB Notification: Performance of pre-optimization done (n=63): time 5.39e-06/5.859, allocations: 0 / 2.871 GB, free: 203 MB / 1.167 GB Notification: Performance of matching and sorting (n=63): time 0.002869/5.862, allocations: 1.202 MB / 2.872 GB, free: 202.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/5.862, allocations: 110.8 kB / 2.872 GB, free: 202.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002538/5.864, allocations: 1.338 MB / 2.873 GB, free: 202.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001412/5.865, allocations: 40.95 kB / 2.873 GB, free: 202.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008153/5.865, allocations: 0.8767 MB / 2.874 GB, free: 202.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002189/5.866, allocations: 222.3 kB / 2.874 GB, free: 202 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.851e-05/5.866, allocations: 20.69 kB / 2.875 GB, free: 202 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.972e-05/5.866, allocations: 347.2 kB / 2.875 GB, free: 201.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007886/5.867, allocations: 339.7 kB / 2.875 GB, free: 201.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009724/5.868, allocations: 0.742 MB / 2.876 GB, free: 201.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009535/5.869, allocations: 470.4 kB / 2.876 GB, free: 201.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.194e-05/5.869, allocations: 3.531 kB / 2.876 GB, free: 201.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002598/5.871, allocations: 1.228 MB / 2.878 GB, free: 201 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001006/5.872, allocations: 4.443 MB / 2.882 GB, free: 196.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.733e-05/5.872, allocations: 17.98 kB / 2.882 GB, free: 196.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4e-05/5.872, allocations: 22.3 kB / 2.882 GB, free: 196.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000985/5.873, allocations: 251.6 kB / 2.882 GB, free: 196.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.824e-05/5.873, allocations: 25.84 kB / 2.882 GB, free: 196.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/5.875, allocations: 123.4 kB / 2.882 GB, free: 196.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/5.875, allocations: 60.11 kB / 2.882 GB, free: 196.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/5.875, allocations: 3.656 kB / 2.882 GB, free: 196.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002092/5.877, allocations: 1.061 MB / 2.883 GB, free: 196.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.303e-05/5.877, allocations: 11.22 kB / 2.883 GB, free: 196.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/5.877, allocations: 22.58 kB / 2.883 GB, free: 196.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009025/5.878, allocations: 253.6 kB / 2.884 GB, free: 196.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.603e-05/5.878, allocations: 26.72 kB / 2.884 GB, free: 196.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/5.88, allocations: 118.2 kB / 2.884 GB, free: 196.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/5.88, allocations: 55.03 kB / 2.884 GB, free: 196.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 119 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001009/5.881, allocations: 486.4 kB / 2.884 GB, free: 196.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000427/5.881, allocations: 163.5 kB / 2.884 GB, free: 196 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002667/5.884, allocations: 1.112 MB / 2.886 GB, free: 195.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.829e-05/5.884, allocations: 11.92 kB / 2.886 GB, free: 195.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/5.884, allocations: 0 / 2.886 GB, free: 195.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001583/5.886, allocations: 0.9491 MB / 2.887 GB, free: 195.6 MB / 1.167 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.005176/5.891, allocations: 2.371 MB / 2.889 GB, free: 195.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/5.891, allocations: 0 / 2.889 GB, free: 195.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007296/5.892, allocations: 145.4 kB / 2.889 GB, free: 195.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001765/5.892, allocations: 28 kB / 2.889 GB, free: 195.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.313e-05/5.892, allocations: 22.47 kB / 2.889 GB, free: 195.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008642/5.893, allocations: 1.316 MB / 2.89 GB, free: 194 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/5.893, allocations: 3.594 kB / 2.89 GB, free: 194 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002889/5.896, allocations: 1.551 MB / 2.892 GB, free: 193.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009406/5.897, allocations: 345.6 kB / 2.892 GB, free: 193.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004924/5.897, allocations: 23.36 kB / 2.892 GB, free: 193.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/5.898, allocations: 111.2 kB / 2.892 GB, free: 193.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/5.899, allocations: 58.02 kB / 2.892 GB, free: 193.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.471e-05/5.899, allocations: 29.94 kB / 2.892 GB, free: 193.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001847/5.901, allocations: 1.088 MB / 2.893 GB, free: 193.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.31e-07/5.901, allocations: 0 / 2.893 GB, free: 193.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003708/5.904, allocations: 0.9861 MB / 2.894 GB, free: 193.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,coo.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002797/5.907, allocations: 1.316 MB / 2.896 GB, free: 192.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003257/5.91, allocations: 1.525 MB / 2.897 GB, free: 192.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/5.91, allocations: 3.938 kB / 2.897 GB, free: 192.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/5.911, allocations: 0.528 MB / 2.898 GB, free: 192.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003499/5.915, allocations: 0.7188 MB / 2.898 GB, free: 192.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006098/5.921, allocations: 3.668 MB / 2.902 GB, free: 191.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001132/5.922, allocations: 1.399 MB / 2.903 GB, free: 190.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002202/5.924, allocations: 436.2 kB / 2.904 GB, free: 190.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004208/5.925, allocations: 145.2 kB / 2.904 GB, free: 190.3 MB / 1.167 GB Notification: Performance of SimCode: time 5.41e-07/5.925, allocations: 6.656 kB / 2.904 GB, free: 190.3 MB / 1.167 GB Notification: Performance of Templates: time 0.05389/5.979, allocations: 34.84 MB / 2.938 GB, free: 188.8 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches