Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.518/1.518, allocations: 249.5 MB / 257 MB, free: 6.863 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.00117/0.00117, allocations: 180.8 kB / 316.3 MB, free: 3.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.716/1.716, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0008076/0.0008075, allocations: 94.47 kB / 0.6714 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.011e-05/2.013e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2502, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.943/7.194, allocations: 2.475 GB / 3.36 GB, free: 212.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/7.194, allocations: 92 kB / 3.361 GB, free: 212.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.833/11.03, allocations: 0.9111 GB / 4.272 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.474e-06/11.03, allocations: 1.188 kB / 4.272 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003816/11.03, allocations: 48.8 kB / 4.272 GB, free: 126.6 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.01222/11.04, allocations: 2.101 MB / 4.274 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 9.549e-05/11.04, allocations: 16.3 kB / 4.274 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006578/11.05, allocations: 0.5434 MB / 4.274 GB, free: 125.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007992/11.05, allocations: 1.393 MB / 4.276 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001381/11.06, allocations: 173.6 kB / 4.276 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009381/11.06, allocations: 73.64 kB / 4.276 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004107/11.06, allocations: 0.9601 MB / 4.277 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003885/11.06, allocations: 1.087 MB / 4.278 GB, free: 125.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.719e-05/11.07, allocations: 7.75 kB / 4.278 GB, free: 125.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002389/11.07, allocations: 6.062 kB / 4.278 GB, free: 125.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.987e-05/11.07, allocations: 45.09 kB / 4.278 GB, free: 125.2 MB / 0.8855 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.01644/11.08, allocations: 5.273 MB / 4.283 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001928/11.08, allocations: 0.7472 MB / 4.284 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009518/11.08, allocations: 395.6 kB / 4.284 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001354/11.09, allocations: 0.7617 MB / 4.285 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001194/11.09, allocations: 486.2 kB / 4.285 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=81): time 6.663e-06/11.09, allocations: 3.25 kB / 4.285 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=81): time 0.003884/11.09, allocations: 0.9629 MB / 4.286 GB, free: 122.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.903e-05/11.09, allocations: 191.7 kB / 4.287 GB, free: 122 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003014/11.09, allocations: 0.9095 MB / 4.287 GB, free: 121.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003896/11.09, allocations: 33.28 kB / 4.287 GB, free: 121.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001271/11.1, allocations: 0.658 MB / 4.288 GB, free: 121.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005038/11.1, allocations: 273.5 kB / 4.288 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001698/11.1, allocations: 0 / 4.288 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001603/11.1, allocations: 348.3 kB / 4.289 GB, free: 121.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001191/11.1, allocations: 389 kB / 4.289 GB, free: 121.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001685/11.1, allocations: 0.7007 MB / 4.29 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002598/11.1, allocations: 0.5137 MB / 4.29 GB, free: 120.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.821e-05/11.1, allocations: 0 / 4.29 GB, free: 120.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.005729/11.11, allocations: 1.239 MB / 4.291 GB, free: 120.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.00107/11.11, allocations: 2.062 MB / 4.293 GB, free: 118.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.116e-05/11.11, allocations: 3.75 kB / 4.293 GB, free: 118.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.04e-05/11.11, allocations: 10.81 kB / 4.293 GB, free: 118.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00318/11.11, allocations: 350.1 kB / 4.294 GB, free: 118.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009328/11.11, allocations: 1.213 MB / 4.295 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003297/11.12, allocations: 193.7 kB / 4.295 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003189/11.12, allocations: 62.67 kB / 4.295 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/11.12, allocations: 6.562 kB / 4.295 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004089/11.12, allocations: 1.055 MB / 4.296 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.292e-05/11.12, allocations: 7.719 kB / 4.296 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.915e-05/11.12, allocations: 13.78 kB / 4.296 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002329/11.12, allocations: 323.3 kB / 4.297 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.048e-05/11.12, allocations: 18.66 kB / 4.297 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002974/11.13, allocations: 177.4 kB / 4.297 GB, free: 117.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002473/11.13, allocations: 53.7 kB / 4.297 GB, free: 117.3 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 128 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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.0005296/11.13, allocations: 141.1 kB / 4.297 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007171/11.13, allocations: 141.1 kB / 4.297 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004265/11.13, allocations: 1.101 MB / 4.298 GB, free: 117.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.946e-05/11.13, allocations: 11.06 kB / 4.298 GB, free: 117.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.425e-06/11.13, allocations: 0 / 4.298 GB, free: 117.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.05e-05/11.13, allocations: 7.359 kB / 4.298 GB, free: 117.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008161/11.14, allocations: 2.497 MB / 4.301 GB, free: 116.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.656e-05/11.14, allocations: 3.969 kB / 4.301 GB, free: 116.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002164/11.14, allocations: 254.2 kB / 4.301 GB, free: 116.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-05/11.14, allocations: 7.781 kB / 4.301 GB, free: 116.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001234/11.14, allocations: 21.59 kB / 4.301 GB, free: 116.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006154/11.14, allocations: 1.189 MB / 4.302 GB, free: 115.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.039e-05/11.14, allocations: 7.891 kB / 4.302 GB, free: 115.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004859/11.15, allocations: 1.912 MB / 4.304 GB, free: 114.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001316/11.15, allocations: 358.2 kB / 4.304 GB, free: 114.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006125/11.15, allocations: 10.81 kB / 4.304 GB, free: 114.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002646/11.15, allocations: 127.2 kB / 4.304 GB, free: 114.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000218/11.15, allocations: 75.47 kB / 4.305 GB, free: 114.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001717/11.15, allocations: 38.73 kB / 4.305 GB, free: 114.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001981/11.16, allocations: 0.6792 MB / 4.305 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.91e-07/11.16, allocations: 0 / 4.305 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006316/11.16, allocations: 0.9883 MB / 4.306 GB, free: 114.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 4 (temSen.T,val.filter.x[1],val.filter.x[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * 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.006833/11.17, allocations: 2.332 MB / 4.308 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.005851/11.18, allocations: 1.771 MB / 4.31 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.237e-05/11.18, allocations: 0 / 4.31 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001637/11.18, allocations: 0.5032 MB / 4.311 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005337/11.18, allocations: 0.5107 MB / 4.311 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00759/11.19, allocations: 1.978 MB / 4.313 GB, free: 112.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001475/11.19, allocations: 1.273 MB / 4.314 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.005425/11.2, allocations: 460.8 kB / 4.315 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006968/11.2, allocations: 97.06 kB / 4.315 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of SimCode: time 1.272e-06/11.2, allocations: 0 / 4.315 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of Templates: time 0.09421/11.29, allocations: 36.43 MB / 4.35 GB, free: 111 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches