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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.021/2.021, allocations: 390.4 MB / 397.7 MB, free: 11.3 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.001168/0.001168, allocations: 182.9 kB / 490.8 MB, free: 1.965 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.388/1.388, allocations: 221.4 MB / 0.7863 GB, free: 13.72 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.0009738/0.0009738, allocations: 92.59 kB / 0.9264 GB, free: 14.25 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 9.067e-06/9.087e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.277, allocations: 143 MB / 1.212 GB, free: 40.17 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.189/4.466, allocations: 2.186 GB / 3.398 GB, free: 121.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/4.466, allocations: 90.61 kB / 3.398 GB, free: 121.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.201/7.667, allocations: 0.9537 GB / 4.352 GB, free: 29.45 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002714/7.668, allocations: 43.92 kB / 4.352 GB, free: 29.4 MB / 1.151 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.007412/7.675, allocations: 2.112 MB / 4.354 GB, free: 27.23 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/7.675, allocations: 8.031 kB / 4.354 GB, free: 27.23 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003716/7.679, allocations: 0.587 MB / 4.354 GB, free: 26.64 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004525/7.683, allocations: 1.375 MB / 4.356 GB, free: 25.21 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006508/7.684, allocations: 185.9 kB / 4.356 GB, free: 25.03 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005114/7.685, allocations: 75.91 kB / 4.356 GB, free: 24.95 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002253/7.687, allocations: 0.9645 MB / 4.357 GB, free: 23.99 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002276/7.689, allocations: 1.086 MB / 4.358 GB, free: 22.86 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.965e-05/7.689, allocations: 0 / 4.358 GB, free: 22.86 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001509/7.689, allocations: 4 kB / 4.358 GB, free: 22.86 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.351e-05/7.69, allocations: 45.98 kB / 4.358 GB, free: 22.82 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01014/7.7, allocations: 5.292 MB / 4.363 GB, free: 17.26 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/7.701, allocations: 0.7708 MB / 4.364 GB, free: 16.48 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005406/7.702, allocations: 413.5 kB / 4.364 GB, free: 16.08 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009409/7.702, allocations: 0.8461 MB / 4.365 GB, free: 15.06 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007102/7.703, allocations: 0.495 MB / 4.366 GB, free: 14.55 MB / 1.151 GB Notification: Performance of pre-optimization done (n=82): time 3.898e-06/7.703, allocations: 0 / 4.366 GB, free: 14.55 MB / 1.151 GB Notification: Performance of matching and sorting (n=82): time 0.002709/7.706, allocations: 1.006 MB / 4.367 GB, free: 13.54 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/7.706, allocations: 111.5 kB / 4.367 GB, free: 13.41 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001527/7.708, allocations: 0.8996 MB / 4.368 GB, free: 12.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001986/7.708, allocations: 29.7 kB / 4.368 GB, free: 12.46 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004336/7.708, allocations: 449.1 kB / 4.368 GB, free: 12.01 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002471/7.708, allocations: 279.9 kB / 4.368 GB, free: 11.73 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.778e-05/7.709, allocations: 0 / 4.368 GB, free: 11.73 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.276e-05/7.709, allocations: 345.9 kB / 4.369 GB, free: 11.39 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005916/7.709, allocations: 394.5 kB / 4.369 GB, free: 11 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007732/7.71, allocations: 0.668 MB / 4.37 GB, free: 10.22 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/7.711, allocations: 0.5281 MB / 4.37 GB, free: 9.695 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.276e-06/7.711, allocations: 0 / 4.37 GB, free: 9.695 MB / 1.151 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002488/7.714, allocations: 1.216 MB / 4.371 GB, free: 8.469 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004183/7.714, allocations: 2.029 MB / 4.373 GB, free: 6.301 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/7.714, allocations: 4 kB / 4.373 GB, free: 6.297 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.312e-05/7.714, allocations: 12 kB / 4.373 GB, free: 6.285 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001882/7.716, allocations: 367.4 kB / 4.374 GB, free: 5.926 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006203/7.717, allocations: 1.215 MB / 4.375 GB, free: 4.664 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001956/7.719, allocations: 207 kB / 4.375 GB, free: 4.461 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001823/7.719, allocations: 59.97 kB / 4.375 GB, free: 4.402 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/7.719, allocations: 8 kB / 4.375 GB, free: 4.395 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002021/7.721, allocations: 1.041 MB / 4.376 GB, free: 3.352 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/7.721, allocations: 12.09 kB / 4.376 GB, free: 3.34 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/7.721, allocations: 8 kB / 4.376 GB, free: 3.332 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001496/7.722, allocations: 339.6 kB / 4.376 GB, free: 3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.058e-05/7.722, allocations: 15.94 kB / 4.377 GB, free: 2.984 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/7.724, allocations: 195.1 kB / 4.377 GB, free: 2.793 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/7.724, allocations: 59.97 kB / 4.377 GB, free: 2.734 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete 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.0003601/7.725, allocations: 132.7 kB / 4.377 GB, free: 2.598 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000451/7.725, allocations: 146.2 kB / 4.377 GB, free: 2.453 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002579/7.728, allocations: 1.149 MB / 4.378 GB, free: 1.293 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/7.728, allocations: 8 kB / 4.378 GB, free: 1.285 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/7.728, allocations: 0 / 4.378 GB, free: 1.285 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/7.728, allocations: 7.984 kB / 4.378 GB, free: 1.277 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005225/7.733, allocations: 2.568 MB / 4.381 GB, free: 14.61 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/7.733, allocations: 8.062 kB / 4.381 GB, free: 14.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001461/7.735, allocations: 255.7 kB / 4.381 GB, free: 14.35 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.115e-05/7.735, allocations: 8 kB / 4.381 GB, free: 14.34 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.633e-05/7.735, allocations: 23.88 kB / 4.381 GB, free: 14.32 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006097/7.735, allocations: 1.207 MB / 4.382 GB, free: 13.06 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.817e-06/7.735, allocations: 7.938 kB / 4.382 GB, free: 13.05 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003305/7.739, allocations: 1.985 MB / 4.384 GB, free: 10.89 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009429/7.74, allocations: 358.9 kB / 4.384 GB, free: 10.52 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005142/7.74, allocations: 7.984 kB / 4.384 GB, free: 10.51 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001688/7.742, allocations: 151.8 kB / 4.385 GB, free: 10.36 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/7.742, allocations: 60.56 kB / 4.385 GB, free: 10.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/7.742, allocations: 43.97 kB / 4.385 GB, free: 10.26 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.001325/7.744, allocations: 0.6667 MB / 4.385 GB, free: 9.594 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004086/7.748, allocations: 0.9512 MB / 4.386 GB, free: 8.641 MB / 1.167 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) * 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.004499/7.752, allocations: 2.295 MB / 4.388 GB, free: 6.266 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003898/7.756, allocations: 1.661 MB / 4.39 GB, free: 4.598 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.846e-06/7.756, allocations: 4 kB / 4.39 GB, free: 4.594 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001105/7.757, allocations: 0.5192 MB / 4.391 GB, free: 4.074 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003188/7.76, allocations: 496 kB / 4.391 GB, free: 3.594 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006494/7.767, allocations: 2.089 MB / 4.393 GB, free: 1.414 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.5076/8.275, allocations: 1.401 MB / 4.395 GB, free: 323.6 MB / 1.167 GB Notification: Performance of SimCode: time 9.12e-07/8.275, allocations: 0 / 4.395 GB, free: 323.6 MB / 1.167 GB Notification: Performance of Templates: time 0.06805/8.343, allocations: 42.14 MB / 4.436 GB, free: 323.1 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