Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001181/0.001181, allocations: 100.1 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.001409/0.001409, allocations: 177.3 kB / 15.95 MB, free: 216 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.332/1.332, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.583/2.583, allocations: 436.5 MB / 0.7104 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003238/0.000324, allocations: 12 kB / 0.8708 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5996/0.5999, allocations: 153.7 MB / 1.021 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.1854/0.7853, allocations: 175.8 MB / 1.192 GB, free: 0.8828 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01482/0.8002, allocations: 9.789 MB / 1.202 GB, free: 7.074 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001681/0.8019, allocations: 51.62 kB / 1.202 GB, free: 7.023 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002218/0.8041, allocations: 0.7074 MB / 1.203 GB, free: 6.312 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.006971/0.8111, allocations: 2.271 MB / 1.205 GB, free: 4.035 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.005153/0.8163, allocations: 1.92 MB / 1.207 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004089/0.8204, allocations: 2.198 MB / 1.209 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001702/0.8221, allocations: 1.012 MB / 1.21 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003208/0.8253, allocations: 1.472 MB / 1.211 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001358/0.8267, allocations: 0.8089 MB / 1.212 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002253/0.8269, allocations: 64 kB / 1.212 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004136/0.8311, allocations: 2.001 MB / 1.214 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004674/0.8316, allocations: 342.7 kB / 1.215 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004942/0.8321, allocations: 344.8 kB / 1.215 GB, free: 9.867 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003059/0.8352, allocations: 2.178 MB / 1.217 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.8352, allocations: 0 / 1.217 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.774e-06/0.8352, allocations: 0 / 1.217 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.973e-05/0.8352, allocations: 0 / 1.217 GB, free: 7.684 MB / 0.9669 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.004698/0.8399, allocations: 2.019 MB / 1.219 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.84, allocations: 11.98 kB / 1.219 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003074/0.843, allocations: 0.591 MB / 1.22 GB, free: 5 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002361/0.8454, allocations: 1.181 MB / 1.221 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006999/0.8461, allocations: 214.2 kB / 1.221 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001932/0.8463, allocations: 112 kB / 1.221 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002733/0.8491, allocations: 1.333 MB / 1.222 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.8491, allocations: 0 / 1.222 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/0.8492, allocations: 43.98 kB / 1.222 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.653e-05/0.8493, allocations: 41.98 kB / 1.222 GB, free: 2 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003299/0.8526, allocations: 1.39 MB / 1.224 GB, free: 0.6094 MB / 0.9669 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.00874/0.8614, allocations: 5.348 MB / 1.229 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002534/0.8639, allocations: 1.069 MB / 1.23 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009171/0.8649, allocations: 0.5968 MB / 1.231 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001494/0.8664, allocations: 0.625 MB / 1.231 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=81): time 3.096e-06/0.8664, allocations: 0 / 1.231 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of matching and sorting (n=81): time 0.004482/0.8709, allocations: 1.648 MB / 1.233 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.8709, allocations: 64.02 kB / 1.233 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001955/0.8729, allocations: 1.322 MB / 1.234 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001474/0.8731, allocations: 45.7 kB / 1.234 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005948/0.8737, allocations: 0.6465 MB / 1.235 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002766/0.8739, allocations: 280 kB / 1.235 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.298e-05/0.874, allocations: 20 kB / 1.235 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.8742, allocations: 353.9 kB / 1.236 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001424/0.8756, allocations: 0.514 MB / 1.236 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001588/0.8772, allocations: 0.772 MB / 1.237 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001468/0.8787, allocations: 0.5902 MB / 1.237 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.8787, allocations: 0 / 1.237 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003617/0.8823, allocations: 1.497 MB / 1.239 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007871/0.8831, allocations: 1.901 MB / 1.241 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.8832, allocations: 8 kB / 1.241 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.973e-05/0.8832, allocations: 12 kB / 1.241 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001827/0.885, allocations: 351.5 kB / 1.241 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007415/0.8858, allocations: 1.195 MB / 1.242 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001735/0.8875, allocations: 234.8 kB / 1.242 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001349/0.8877, allocations: 51.97 kB / 1.242 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.8877, allocations: 7.938 kB / 1.242 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003224/0.8909, allocations: 1.341 MB / 1.244 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.891, allocations: 8 kB / 1.244 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.891, allocations: 11.94 kB / 1.244 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/0.8924, allocations: 323.7 kB / 1.244 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.022e-05/0.8925, allocations: 11.98 kB / 1.244 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/0.8941, allocations: 224.8 kB / 1.244 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/0.8942, allocations: 55.97 kB / 1.244 GB, free: 10.77 MB / 0.9981 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.0006828/0.8949, allocations: 406.5 kB / 1.245 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003145/0.8952, allocations: 158.1 kB / 1.245 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003374/0.8986, allocations: 1.367 MB / 1.246 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.8987, allocations: 8 kB / 1.246 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.8987, allocations: 0 / 1.246 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.8987, allocations: 3.984 kB / 1.246 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005773/0.9045, allocations: 2.906 MB / 1.249 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.9045, allocations: 4 kB / 1.249 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/0.9057, allocations: 244.1 kB / 1.249 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.686e-05/0.9058, allocations: 8 kB / 1.249 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.018e-05/0.9059, allocations: 27.98 kB / 1.249 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006367/0.9065, allocations: 1.196 MB / 1.251 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.9065, allocations: 4 kB / 1.251 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004796/0.9113, allocations: 2.333 MB / 1.253 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007659/0.9121, allocations: 374.8 kB / 1.253 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002942/0.9124, allocations: 23.98 kB / 1.253 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001495/0.9139, allocations: 156.4 kB / 1.253 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/0.9141, allocations: 76.45 kB / 1.253 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.9142, allocations: 39.97 kB / 1.253 GB, free: 1.109 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001416/0.9156, allocations: 0.8862 MB / 1.254 GB, free: 232 kB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9156, allocations: 0 / 1.254 GB, free: 232 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.4878/1.403, allocations: 0.7859 MB / 1.255 GB, free: 229.5 MB / 0.9981 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: 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 (90): * Single equations (assignments): 84 * 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.001147/1.405, allocations: 481.1 kB / 1.256 GB, free: 229.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005921/1.411, allocations: 2.097 MB / 1.258 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/1.411, allocations: 0.7188 kB / 1.258 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001817/1.412, allocations: 0.6472 MB / 1.258 GB, free: 229.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00355/1.416, allocations: 0.6843 MB / 1.259 GB, free: 229 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005774/1.422, allocations: 3.21 MB / 1.262 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008783/1.423, allocations: 1.259 MB / 1.263 GB, free: 226.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002124/1.425, allocations: 416.9 kB / 1.264 GB, free: 226.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004573/1.425, allocations: 126.3 kB / 1.264 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of SimCode: time 9.02e-07/1.425, allocations: 0 / 1.264 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.04587/1.471, allocations: 28.67 MB / 1.292 GB, free: 212.5 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches