Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.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.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem1a.T|senTem1b.T|senTem2a.T|senTem2b.T|senTem3a.T|senTem3b.T|senTem4a.T|senTem4b.T|mix1.T|hea1.m_flow|hea2.m_flow|hea3.m_flow|hea4.m_flow|senTem5b.T|senTem5a.T|senTem6b.T|senTem7a.T|senTem7b.T|senTem8a.T|senTem8b.T|mix2.T|hea5.m_flow|hea6.m_flow|hea7.m_flow|hea8.m_flow|che1.y|che2.y|che9.y|che10.y|che3.y|che4.y|che5.y|che6.y|che7.y|che8.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem1a.T|senTem1b.T|senTem2a.T|senTem2b.T|senTem3a.T|senTem3b.T|senTem4a.T|senTem4b.T|mix1.T|hea1.m_flow|hea2.m_flow|hea3.m_flow|hea4.m_flow|senTem5b.T|senTem5a.T|senTem6b.T|senTem7a.T|senTem7b.T|senTem8a.T|senTem8b.T|mix2.T|hea5.m_flow|hea6.m_flow|hea7.m_flow|hea8.m_flow|che1.y|che2.y|che9.y|che10.y|che3.y|che4.y|che5.y|che6.y|che7.y|che8.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.468/1.468, allocations: 249.3 MB / 261.8 MB, free: 5.836 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.001108/0.001109, allocations: 192.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.566/1.566, allocations: 205.2 MB / 0.572 GB, free: 10.67 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.0008359/0.0008362, allocations: 94.41 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.175e-05/5.179e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.251, allocations: 106.3 MB / 0.8918 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.655/1.906, allocations: 402.5 MB / 1.285 GB, free: 261.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/1.906, allocations: 97.55 kB / 1.285 GB, free: 261.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 11.01/12.91, allocations: 2.659 GB / 3.943 GB, free: 48.09 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.573e-06/12.91, allocations: 0 / 3.943 GB, free: 48.09 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001341/12.91, allocations: 167.3 kB / 3.944 GB, free: 48.05 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.02399/12.94, allocations: 5.899 MB / 3.949 GB, free: 45 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 7.372e-05/12.94, allocations: 9.75 kB / 3.949 GB, free: 45 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00654/12.94, allocations: 0.7758 MB / 3.95 GB, free: 44.63 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.129/13.07, allocations: 57.8 MB / 4.007 GB, free: 40.41 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004244/13.07, allocations: 318.5 kB / 4.007 GB, free: 40.4 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00167/13.07, allocations: 428.9 kB / 4.007 GB, free: 40.39 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01208/13.09, allocations: 4.153 MB / 4.011 GB, free: 39.55 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002208/13.09, allocations: 19.12 kB / 4.011 GB, free: 39.55 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009613/13.09, allocations: 169.2 kB / 4.012 GB, free: 39.55 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001126/13.09, allocations: 116.2 kB / 4.012 GB, free: 39.55 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005716/13.09, allocations: 2.786 MB / 4.014 GB, free: 39.45 MB / 0.9948 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.03551/13.13, allocations: 24.02 MB / 4.038 GB, free: 22.09 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003821/13.13, allocations: 2.898 MB / 4.041 GB, free: 20.05 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001737/13.14, allocations: 1.047 MB / 4.042 GB, free: 19.62 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002623/13.14, allocations: 3.939 MB / 4.046 GB, free: 15.14 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.061e-05/13.14, allocations: 67.36 kB / 4.046 GB, free: 15.07 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=225): time 5.23e-06/13.14, allocations: 0 / 4.046 GB, free: 15.07 MB / 0.9948 GB Notification: Performance of matching and sorting (n=225): time 0.006576/13.14, allocations: 2.569 MB / 4.048 GB, free: 13.98 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/13.14, allocations: 74.44 kB / 4.048 GB, free: 13.91 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009545/13.15, allocations: 3.593 MB / 4.052 GB, free: 12.59 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007156/13.16, allocations: 74.42 kB / 4.052 GB, free: 12.53 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002592/13.16, allocations: 2.775 MB / 4.054 GB, free: 10.35 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001231/13.16, allocations: 0.7832 MB / 4.055 GB, free: 9.719 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003145/13.16, allocations: 56.56 kB / 4.055 GB, free: 9.676 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002266/13.16, allocations: 408.6 kB / 4.056 GB, free: 9.324 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001517/13.16, allocations: 0.7669 MB / 4.056 GB, free: 9.023 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002079/13.16, allocations: 1.765 MB / 4.058 GB, free: 7.461 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001869/13.17, allocations: 1.074 MB / 4.059 GB, free: 7.004 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.048e-05/13.17, allocations: 3.938 kB / 4.059 GB, free: 7.004 MB / 0.9948 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.006949/13.17, allocations: 3.284 MB / 4.062 GB, free: 4.738 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.003492/13.18, allocations: 10.35 MB / 4.073 GB, free: 9.684 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.815e-05/13.18, allocations: 20 kB / 4.073 GB, free: 9.664 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001099/13.18, allocations: 398.6 kB / 4.073 GB, free: 9.305 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002025/13.18, allocations: 0.5208 MB / 4.073 GB, free: 8.848 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002497/13.18, allocations: 2.686 MB / 4.076 GB, free: 6.121 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00689/13.19, allocations: 0.5549 MB / 4.077 GB, free: 5.664 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005767/13.19, allocations: 131.5 kB / 4.077 GB, free: 5.543 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/13.19, allocations: 4 kB / 4.077 GB, free: 5.539 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006386/13.2, allocations: 2.74 MB / 4.079 GB, free: 3.074 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.818e-05/13.2, allocations: 22.53 kB / 4.079 GB, free: 3.055 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/13.2, allocations: 377.3 kB / 4.08 GB, free: 2.738 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001872/13.2, allocations: 0.5244 MB / 4.08 GB, free: 2.277 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009789/13.21, allocations: 7.691 MB / 4.088 GB, free: 10.38 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006586/13.21, allocations: 0.5223 MB / 4.088 GB, free: 9.957 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000737/13.22, allocations: 127.5 kB / 4.088 GB, free: 9.84 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (299): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.00127/13.22, allocations: 283.7 kB / 4.089 GB, free: 9.555 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002385/13.22, allocations: 0.4978 MB / 4.089 GB, free: 9.051 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009089/13.23, allocations: 3.729 MB / 4.093 GB, free: 5.797 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.284e-05/13.23, allocations: 35.28 kB / 4.093 GB, free: 5.766 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.398e-05/13.23, allocations: 3.328 kB / 4.093 GB, free: 5.766 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004555/13.23, allocations: 2.536 MB / 4.095 GB, free: 3.418 MB / 1.026 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.02029/13.25, allocations: 8.464 MB / 4.104 GB, free: 12.26 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.4e-05/13.25, allocations: 0 / 4.104 GB, free: 12.26 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00152/13.25, allocations: 395.4 kB / 4.104 GB, free: 11.93 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000781/13.26, allocations: 298.2 kB / 4.104 GB, free: 11.66 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001957/13.26, allocations: 70.11 kB / 4.104 GB, free: 11.6 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002008/13.26, allocations: 2.489 MB / 4.107 GB, free: 9.047 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/13.26, allocations: 3.938 kB / 4.107 GB, free: 9.043 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00871/13.27, allocations: 4.654 MB / 4.111 GB, free: 4.605 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004334/13.27, allocations: 0.9788 MB / 4.112 GB, free: 3.766 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001922/13.27, allocations: 44 kB / 4.112 GB, free: 3.723 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005602/13.28, allocations: 436.3 kB / 4.113 GB, free: 3.402 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003612/13.28, allocations: 161.7 kB / 4.113 GB, free: 3.301 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003536/13.28, allocations: 104.8 kB / 4.113 GB, free: 3.207 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.006109/13.29, allocations: 2.729 MB / 4.116 GB, free: 0.5039 MB / 1.042 GB Notification: Performance of sort global known variables: time 2.11e-07/13.29, allocations: 0 / 4.116 GB, free: 0.5039 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.9536/14.24, allocations: 3.582 MB / 4.119 GB, free: 94.46 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (227): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01033/14.25, allocations: 3.404 MB / 4.122 GB, free: 93.29 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.01186/14.26, allocations: 4.504 MB / 4.127 GB, free: 92.71 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.715e-05/14.26, allocations: 6.75 kB / 4.127 GB, free: 92.71 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.002852/14.26, allocations: 1.29 MB / 4.128 GB, free: 92.69 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0194/14.28, allocations: 2.743 MB / 4.131 GB, free: 92.66 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02562/14.31, allocations: 7.271 MB / 4.138 GB, free: 90.74 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006415/14.32, allocations: 2.999 MB / 4.141 GB, free: 89.93 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.01293/14.33, allocations: 1.499 MB / 4.142 GB, free: 89.88 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001481/14.33, allocations: 321.1 kB / 4.143 GB, free: 89.88 MB / 1.042 GB Notification: Performance of SimCode: time 3.116e-06/14.33, allocations: 0 / 4.143 GB, free: 89.88 MB / 1.042 GB Notification: Performance of Templates: time 0.2324/14.56, allocations: 132.4 MB / 4.272 GB, free: 81.07 MB / 1.042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Interfaces_Examples_HeaterCooler_u.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches