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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.423/2.423, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001631/0.001631, allocations: 183.5 kB / 0.4902 GB, free: 2.262 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.575/1.575, allocations: 223.1 MB / 0.7992 GB, free: 14.74 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.0009514/0.0009514, allocations: 104.1 kB / 0.9396 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004537/0.0004537, allocations: 13.52 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3458, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.653/5.999, allocations: 2.187 GB / 3.416 GB, free: 203 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/5.999, allocations: 94.02 kB / 3.416 GB, free: 203 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.18/9.179, allocations: 0.9551 GB / 4.372 GB, free: 136.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.815e-06/9.179, allocations: 0 / 4.372 GB, free: 136.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003256/9.18, allocations: 43.98 kB / 4.372 GB, free: 136.9 MB / 1.167 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.009206/9.189, allocations: 2.384 MB / 4.374 GB, free: 134.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/9.189, allocations: 11.97 kB / 4.374 GB, free: 134.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003531/9.193, allocations: 0.5481 MB / 4.374 GB, free: 133.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00497/9.198, allocations: 1.379 MB / 4.376 GB, free: 132.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006972/9.198, allocations: 214.3 kB / 4.376 GB, free: 132.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005233/9.199, allocations: 116 kB / 4.376 GB, free: 132.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003593/9.202, allocations: 1.375 MB / 4.377 GB, free: 130.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/9.202, allocations: 3.938 kB / 4.377 GB, free: 130.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001913/9.203, allocations: 40 kB / 4.377 GB, free: 130.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.784e-05/9.203, allocations: 45.98 kB / 4.378 GB, free: 130.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003286/9.206, allocations: 1.343 MB / 4.379 GB, free: 129.3 MB / 1.167 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.01355/9.22, allocations: 5.536 MB / 4.384 GB, free: 123.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002839/9.222, allocations: 1.144 MB / 4.385 GB, free: 122.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001075/9.224, allocations: 0.7552 MB / 4.386 GB, free: 121.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0015/9.225, allocations: 0.6601 MB / 4.387 GB, free: 120.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=81): time 3.606e-06/9.225, allocations: 0 / 4.387 GB, free: 120.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=81): time 0.00453/9.23, allocations: 1.722 MB / 4.388 GB, free: 119 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/9.23, allocations: 111.5 kB / 4.389 GB, free: 118.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002383/9.232, allocations: 1.162 MB / 4.39 GB, free: 117.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002173/9.232, allocations: 49.7 kB / 4.39 GB, free: 117.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006673/9.233, allocations: 0.6314 MB / 4.39 GB, free: 117 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002486/9.233, allocations: 287.9 kB / 4.391 GB, free: 116.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.87e-05/9.233, allocations: 20 kB / 4.391 GB, free: 116.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001087/9.234, allocations: 349.9 kB / 4.391 GB, free: 116.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/9.235, allocations: 0.5452 MB / 4.391 GB, free: 115.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001511/9.236, allocations: 0.8517 MB / 4.392 GB, free: 114.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/9.238, allocations: 0.6214 MB / 4.393 GB, free: 114.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-06/9.238, allocations: 4 kB / 4.393 GB, free: 114.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003597/9.241, allocations: 1.563 MB / 4.394 GB, free: 112.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005016/9.242, allocations: 1.897 MB / 4.396 GB, free: 110.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/9.242, allocations: 4 kB / 4.396 GB, free: 110.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.63e-05/9.242, allocations: 8 kB / 4.396 GB, free: 110.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001776/9.244, allocations: 363.4 kB / 4.397 GB, free: 110.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005722/9.244, allocations: 1.199 MB / 4.398 GB, free: 109 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002053/9.246, allocations: 246.7 kB / 4.398 GB, free: 108.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001855/9.247, allocations: 63.95 kB / 4.398 GB, free: 108.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/9.247, allocations: 4 kB / 4.398 GB, free: 108.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002947/9.25, allocations: 1.403 MB / 4.4 GB, free: 107.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/9.25, allocations: 4 kB / 4.4 GB, free: 107.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/9.25, allocations: 16.12 kB / 4.4 GB, free: 107.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/9.251, allocations: 339.5 kB / 4.4 GB, free: 106.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.04e-05/9.251, allocations: 8 kB / 4.4 GB, free: 106.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001984/9.253, allocations: 226.9 kB / 4.4 GB, free: 106.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000161/9.253, allocations: 55.97 kB / 4.4 GB, free: 106.6 MB / 1.167 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 (132): * Single equations (assignments): 129 * 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.0009345/9.254, allocations: 426.3 kB / 4.401 GB, free: 106.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004529/9.255, allocations: 154 kB / 4.401 GB, free: 106.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003267/9.258, allocations: 1.419 MB / 4.402 GB, free: 104.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/9.258, allocations: 11.94 kB / 4.402 GB, free: 104.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/9.258, allocations: 0 / 4.402 GB, free: 104.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/9.258, allocations: 11.97 kB / 4.402 GB, free: 104.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005764/9.264, allocations: 2.952 MB / 4.405 GB, free: 101.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.238e-06/9.264, allocations: 7.953 kB / 4.405 GB, free: 101.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001184/9.265, allocations: 256.1 kB / 4.405 GB, free: 101.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.898e-05/9.265, allocations: 8 kB / 4.405 GB, free: 101.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.815e-05/9.265, allocations: 31.97 kB / 4.405 GB, free: 101.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004079/9.265, allocations: 1.199 MB / 4.406 GB, free: 100 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/9.266, allocations: 7.938 kB / 4.406 GB, free: 100 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004206/9.27, allocations: 2.402 MB / 4.409 GB, free: 97.44 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009178/9.271, allocations: 378.8 kB / 4.409 GB, free: 97.05 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000374/9.271, allocations: 23.98 kB / 4.409 GB, free: 97.03 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001608/9.273, allocations: 159.7 kB / 4.409 GB, free: 96.87 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/9.273, allocations: 72.45 kB / 4.409 GB, free: 96.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-05/9.273, allocations: 43.91 kB / 4.409 GB, free: 96.76 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001406/9.274, allocations: 0.8902 MB / 4.41 GB, free: 95.87 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.6e-07/9.274, allocations: 4 kB / 4.41 GB, free: 95.87 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003888/9.278, allocations: 0.9872 MB / 4.411 GB, free: 94.88 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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.003999/9.282, allocations: 2.09 MB / 4.413 GB, free: 92.71 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004969/9.287, allocations: 2.178 MB / 4.415 GB, free: 90.52 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/9.287, allocations: 4 kB / 4.415 GB, free: 90.51 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001469/9.289, allocations: 0.6649 MB / 4.416 GB, free: 89.85 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003153/9.292, allocations: 0.6725 MB / 4.417 GB, free: 89.18 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005811/9.298, allocations: 3.26 MB / 4.42 GB, free: 85.84 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000887/9.299, allocations: 1.255 MB / 4.421 GB, free: 84.56 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002094/9.301, allocations: 423.7 kB / 4.422 GB, free: 84.14 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004516/9.301, allocations: 127.4 kB / 4.422 GB, free: 84.02 MB / 1.167 GB Notification: Performance of SimCode: time 7.02e-07/9.301, allocations: 0 / 4.422 GB, free: 84.02 MB / 1.167 GB Notification: Performance of Templates: time 0.06835/9.37, allocations: 48.61 MB / 4.469 GB, free: 35.7 MB / 1.167 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