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.289/2.289, allocations: 387.1 MB / 399.7 MB, free: 9.488 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.001094/0.001094, allocations: 172.8 kB / 492.3 MB, free: 0.6367 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.648/1.648, allocations: 221.3 MB / 0.7871 GB, free: 13 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.001006/0.001006, allocations: 93.84 kB / 0.9267 GB, free: 14.06 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.872e-05/3.9e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3651, allocations: 142.3 MB / 1.212 GB, free: 38.57 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.538/1.903, allocations: 453.2 MB / 1.655 GB, free: 9.652 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/1.903, allocations: 89.27 kB / 1.655 GB, free: 9.609 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 5.178/7.081, allocations: 1.182 GB / 2.837 GB, free: 206.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.182e-06/7.081, allocations: 0 / 2.837 GB, free: 206.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003742/7.081, allocations: 57.44 kB / 2.837 GB, free: 206.4 MB / 1.151 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.005561/7.087, allocations: 2.024 MB / 2.839 GB, free: 205 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/7.087, allocations: 11.69 kB / 2.839 GB, free: 205 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003183/7.09, allocations: 0.5284 MB / 2.84 GB, free: 204.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006792/7.097, allocations: 2.302 MB / 2.842 GB, free: 203.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/7.097, allocations: 93.2 kB / 2.842 GB, free: 203.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004558/7.098, allocations: 117.2 kB / 2.842 GB, free: 203.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003091/7.101, allocations: 1.219 MB / 2.843 GB, free: 202.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.945e-05/7.101, allocations: 7.766 kB / 2.843 GB, free: 202.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002004/7.101, allocations: 53.22 kB / 2.843 GB, free: 202.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.493e-05/7.101, allocations: 44.25 kB / 2.844 GB, free: 202.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00204/7.103, allocations: 0.8499 MB / 2.844 GB, free: 202.1 MB / 1.151 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.01182/7.115, allocations: 6.973 MB / 2.851 GB, free: 195.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/7.116, allocations: 1.143 MB / 2.852 GB, free: 195 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005106/7.117, allocations: 334.5 kB / 2.853 GB, free: 194.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005358/7.122, allocations: 3.078 MB / 2.856 GB, free: 192.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005671/7.123, allocations: 354.6 kB / 2.856 GB, free: 191.9 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008202/7.124, allocations: 85.47 kB / 2.856 GB, free: 191.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=62): time 5.64e-06/7.124, allocations: 0 / 2.856 GB, free: 191.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=62): time 0.001457/7.125, allocations: 0.69 MB / 2.857 GB, free: 191.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/7.125, allocations: 110.6 kB / 2.857 GB, free: 191.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00241/7.128, allocations: 1.323 MB / 2.858 GB, free: 190.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.988e-05/7.128, allocations: 40.73 kB / 2.858 GB, free: 190.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000748/7.128, allocations: 0.8822 MB / 2.859 GB, free: 189.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001972/7.129, allocations: 218.3 kB / 2.859 GB, free: 189.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.173e-05/7.129, allocations: 15.81 kB / 2.859 GB, free: 189.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.477e-05/7.129, allocations: 348.5 kB / 2.86 GB, free: 189.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004356/7.129, allocations: 264.3 kB / 2.86 GB, free: 189.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006387/7.13, allocations: 0.672 MB / 2.86 GB, free: 188.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005916/7.131, allocations: 392.4 kB / 2.861 GB, free: 188.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/7.131, allocations: 3.375 kB / 2.861 GB, free: 188.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001837/7.132, allocations: 1.079 MB / 2.862 GB, free: 187.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000977/7.133, allocations: 4.442 MB / 2.866 GB, free: 183.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-05/7.133, allocations: 14.12 kB / 2.866 GB, free: 183.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.161e-05/7.133, allocations: 22.86 kB / 2.866 GB, free: 183.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009512/7.134, allocations: 257.6 kB / 2.866 GB, free: 183 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.045e-05/7.134, allocations: 24.36 kB / 2.867 GB, free: 183 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/7.136, allocations: 124.2 kB / 2.867 GB, free: 183 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/7.136, allocations: 55.83 kB / 2.867 GB, free: 183 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/7.136, allocations: 5.906 kB / 2.867 GB, free: 183 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001448/7.138, allocations: 0.9105 MB / 2.868 GB, free: 182.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.389e-05/7.138, allocations: 11.25 kB / 2.868 GB, free: 182.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/7.138, allocations: 26.14 kB / 2.868 GB, free: 182.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008852/7.139, allocations: 247.4 kB / 2.868 GB, free: 182.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.198e-05/7.139, allocations: 26.03 kB / 2.868 GB, free: 182.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/7.14, allocations: 130.3 kB / 2.868 GB, free: 182.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/7.14, allocations: 53.52 kB / 2.868 GB, free: 182.4 MB / 1.151 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 118 * 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.0002756/7.14, allocations: 175.6 kB / 2.868 GB, free: 182.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003986/7.141, allocations: 171.1 kB / 2.868 GB, free: 182.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002086/7.143, allocations: 0.9599 MB / 2.869 GB, free: 181.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/7.143, allocations: 11.7 kB / 2.869 GB, free: 181.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/7.143, allocations: 0 / 2.869 GB, free: 181.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009521/7.144, allocations: 0.8051 MB / 2.87 GB, free: 181.1 MB / 1.151 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.004364/7.148, allocations: 2.218 MB / 2.872 GB, free: 179.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/7.148, allocations: 0 / 2.872 GB, free: 179.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006946/7.149, allocations: 145.9 kB / 2.872 GB, free: 179.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000188/7.149, allocations: 35.81 kB / 2.872 GB, free: 179.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.386e-05/7.149, allocations: 18.7 kB / 2.872 GB, free: 179.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009016/7.15, allocations: 1.302 MB / 2.874 GB, free: 178.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/7.15, allocations: 7.312 kB / 2.874 GB, free: 178.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001877/7.152, allocations: 1.33 MB / 2.875 GB, free: 177.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009044/7.153, allocations: 345.8 kB / 2.875 GB, free: 177.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005011/7.154, allocations: 14.94 kB / 2.875 GB, free: 177.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/7.155, allocations: 118.4 kB / 2.876 GB, free: 177.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/7.155, allocations: 57.8 kB / 2.876 GB, free: 177.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.849e-05/7.155, allocations: 32.69 kB / 2.876 GB, free: 177.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002817/7.158, allocations: 1.065 MB / 2.877 GB, free: 176.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 3e-07/7.158, allocations: 3.75 kB / 2.877 GB, free: 176.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.006134/7.164, allocations: 0.9724 MB / 2.878 GB, free: 176.2 MB / 1.151 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 62 * 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.004187/7.168, allocations: 1.273 MB / 2.879 GB, free: 175.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003586/7.172, allocations: 1.368 MB / 2.88 GB, free: 174 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/7.172, allocations: 0 / 2.88 GB, free: 174 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001026/7.173, allocations: 473.8 kB / 2.881 GB, free: 173.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005559/7.179, allocations: 0.715 MB / 2.881 GB, free: 172.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007755/7.186, allocations: 2.322 MB / 2.884 GB, free: 170.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001754/7.188, allocations: 1.401 MB / 2.885 GB, free: 169.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0052/7.193, allocations: 0.6026 MB / 2.886 GB, free: 168.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004985/7.194, allocations: 115.3 kB / 2.886 GB, free: 168.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.012e-06/7.194, allocations: 4 kB / 2.886 GB, free: 168.6 MB / 1.151 GB Notification: Performance of Templates: time 0.06702/7.261, allocations: 39.32 MB / 2.924 GB, free: 130.5 MB / 1.151 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