Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|P.u_s|P.u_m|hex.sta_a1.T|hex.sta_b1.T|hex.sta_a2.T|hex.sta_b2.T|hex.Q1_flow|hex.Q2_flow|hex.m1_flow|hex.m2_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|P.u_s|P.u_m|hex.sta_a1.T|hex.sta_b1.T|hex.sta_a2.T|hex.sta_b2.T|hex.Q1_flow|hex.Q2_flow|hex.m1_flow|hex.m2_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 223.2 MB / 239.9 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.409/2.409, allocations: 390.3 MB / 0.6653 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004515/0.0004518, allocations: 8 kB / 0.8145 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7814/0.7819, allocations: 142.3 MB / 0.9535 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.1983/0.9802, allocations: 175.8 MB / 1.125 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01533/0.9956, allocations: 9.767 MB / 1.135 GB, free: 6.184 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002023/0.9977, allocations: 51.62 kB / 1.135 GB, free: 6.133 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002433/1, allocations: 0.7151 MB / 1.135 GB, free: 5.414 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.007026/1.007, allocations: 2.271 MB / 1.138 GB, free: 3.137 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00563/1.013, allocations: 1.91 MB / 1.14 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004453/1.017, allocations: 2.191 MB / 1.142 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001576/1.019, allocations: 1.027 MB / 1.143 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003068/1.022, allocations: 1.464 MB / 1.144 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/1.023, allocations: 0.8012 MB / 1.145 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001501/1.023, allocations: 64 kB / 1.145 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003841/1.027, allocations: 2.001 MB / 1.147 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003646/1.027, allocations: 346.6 kB / 1.147 GB, free: 9.328 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004443/1.028, allocations: 344.8 kB / 1.148 GB, free: 8.984 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002736/1.031, allocations: 2.175 MB / 1.15 GB, free: 6.805 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/1.031, allocations: 0 / 1.15 GB, free: 6.805 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.184e-06/1.031, allocations: 0 / 1.15 GB, free: 6.805 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.723e-05/1.031, allocations: 0 / 1.15 GB, free: 6.805 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.004339/1.035, allocations: 2.015 MB / 1.152 GB, free: 4.73 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/1.035, allocations: 8.031 kB / 1.152 GB, free: 4.723 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002921/1.038, allocations: 0.5911 MB / 1.152 GB, free: 4.129 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002244/1.04, allocations: 1.173 MB / 1.153 GB, free: 2.902 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006525/1.041, allocations: 214.2 kB / 1.154 GB, free: 2.695 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001787/1.041, allocations: 116 kB / 1.154 GB, free: 2.582 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002487/1.044, allocations: 1.337 MB / 1.155 GB, free: 1.211 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/1.044, allocations: 4 kB / 1.155 GB, free: 1.207 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/1.044, allocations: 36 kB / 1.155 GB, free: 1.172 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.472e-05/1.044, allocations: 49.98 kB / 1.155 GB, free: 1.125 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003043/1.047, allocations: 1.386 MB / 1.156 GB, free: 15.74 MB / 0.92 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.007792/1.055, allocations: 5.343 MB / 1.162 GB, free: 10.1 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002407/1.057, allocations: 1.081 MB / 1.163 GB, free: 8.992 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008494/1.058, allocations: 0.5968 MB / 1.163 GB, free: 8.285 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001384/1.059, allocations: 0.6367 MB / 1.164 GB, free: 7.637 MB / 0.92 GB Notification: Performance of pre-optimization done (n=82): time 5.1e-06/1.059, allocations: 0 / 1.164 GB, free: 7.637 MB / 0.92 GB Notification: Performance of matching and sorting (n=82): time 0.004199/1.064, allocations: 1.663 MB / 1.166 GB, free: 5.965 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/1.064, allocations: 60.06 kB / 1.166 GB, free: 5.895 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001632/1.065, allocations: 1.318 MB / 1.167 GB, free: 4.566 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.000114/1.065, allocations: 49.7 kB / 1.167 GB, free: 4.512 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004983/1.066, allocations: 0.631 MB / 1.168 GB, free: 3.875 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002337/1.066, allocations: 287.9 kB / 1.168 GB, free: 3.59 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.139e-05/1.066, allocations: 20 kB / 1.168 GB, free: 3.57 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001265/1.066, allocations: 345.9 kB / 1.168 GB, free: 3.227 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/1.068, allocations: 0.514 MB / 1.169 GB, free: 2.715 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001445/1.069, allocations: 0.7798 MB / 1.169 GB, free: 1.844 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/1.07, allocations: 0.602 MB / 1.17 GB, free: 1.238 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/1.07, allocations: 0 / 1.17 GB, free: 1.238 MB / 0.92 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003334/1.074, allocations: 1.497 MB / 1.171 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.000598/1.074, allocations: 1.904 MB / 1.173 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/1.074, allocations: 8 kB / 1.173 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/1.074, allocations: 11.98 kB / 1.173 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00174/1.076, allocations: 355.4 kB / 1.174 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000724/1.077, allocations: 1.192 MB / 1.175 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/1.079, allocations: 235.4 kB / 1.175 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/1.079, allocations: 51.97 kB / 1.175 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/1.079, allocations: 4 kB / 1.175 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003098/1.082, allocations: 1.352 MB / 1.176 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/1.082, allocations: 4 kB / 1.176 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/1.082, allocations: 11.94 kB / 1.176 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/1.083, allocations: 323.8 kB / 1.177 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.166e-05/1.083, allocations: 11.94 kB / 1.177 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/1.085, allocations: 218.9 kB / 1.177 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/1.085, allocations: 51.97 kB / 1.177 GB, free: 9.852 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000727/1.086, allocations: 408.3 kB / 1.177 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003593/1.086, allocations: 162 kB / 1.178 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003402/1.09, allocations: 1.372 MB / 1.179 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/1.09, allocations: 12 kB / 1.179 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/1.09, allocations: 0 / 1.179 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/1.09, allocations: 3.984 kB / 1.179 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005615/1.095, allocations: 2.913 MB / 1.182 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/1.095, allocations: 4 kB / 1.182 GB, free: 4.867 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001196/1.097, allocations: 240.2 kB / 1.182 GB, free: 4.633 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.146e-05/1.097, allocations: 8 kB / 1.182 GB, free: 4.625 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-05/1.097, allocations: 35.92 kB / 1.182 GB, free: 4.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006009/1.097, allocations: 1.18 MB / 1.183 GB, free: 3.363 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/1.097, allocations: 12 kB / 1.183 GB, free: 3.352 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004621/1.102, allocations: 2.345 MB / 1.186 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008222/1.103, allocations: 374.8 kB / 1.186 GB, free: 464 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000294/1.103, allocations: 20 kB / 1.186 GB, free: 444 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001347/1.105, allocations: 139.8 kB / 1.186 GB, free: 304 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/1.105, allocations: 76.39 kB / 1.186 GB, free: 228 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.423e-05/1.105, allocations: 43.97 kB / 1.186 GB, free: 184 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00139/1.106, allocations: 0.886 MB / 1.187 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of sort global known variables: time 4.21e-07/1.106, allocations: 0 / 1.187 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002236/1.108, allocations: 0.7879 MB / 1.188 GB, free: 14.51 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (temSen.T,val.filter.s[1],val.filter.s[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001229/1.11, allocations: 483.6 kB / 1.188 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.005595/1.115, allocations: 2.104 MB / 1.19 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/1.115, allocations: 0 / 1.19 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001641/1.117, allocations: 0.6611 MB / 1.191 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003659/1.121, allocations: 0.6803 MB / 1.192 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005986/1.127, allocations: 3.227 MB / 1.195 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009996/1.128, allocations: 1.262 MB / 1.196 GB, free: 5.977 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002032/1.13, allocations: 414 kB / 1.196 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003986/1.13, allocations: 127.4 kB / 1.197 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of SimCode: time 9.12e-07/1.13, allocations: 0 / 1.197 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of Templates: time 0.04683/1.177, allocations: 28.77 MB / 1.225 GB, free: 9.047 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches