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") [: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 7.0.3-maint.7.0.x/package.mo): time 1.185/1.185, allocations: 249.4 MB / 256.7 MB, free: 0.6602 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 180.2 kB / 316 MB, free: 8.824 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.054/1.054, allocations: 205.1 MB / 0.5667 GB, free: 13.35 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008102/0.0008102, allocations: 87.17 kB / 0.671 GB, free: 51.52 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 6.522e-06/6.552e-06, allocations: 0 / 0.7807 GB, free: 9.875 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4437/0.4437, allocations: 106.3 MB / 0.8845 GB, free: 89.04 MB / 0.6433 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.389/3.833, allocations: 2.474 GB / 3.359 GB, free: 259.4 MB / 0.8777 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001836/3.833, allocations: 89.33 kB / 3.359 GB, free: 259.4 MB / 0.8777 GB Notification: Performance of FrontEnd: time 2.127/5.96, allocations: 0.9194 GB / 4.278 GB, free: 10.84 MB / 0.8933 GB Notification: Performance of Transformations before backend: time 0.0001358/5.96, allocations: 47.92 kB / 4.278 GB, free: 10.8 MB / 0.8933 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.004927/5.965, allocations: 2.122 MB / 4.28 GB, free: 8.613 MB / 0.8933 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/5.965, allocations: 16.03 kB / 4.28 GB, free: 8.598 MB / 0.8933 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002863/5.968, allocations: 0.5831 MB / 4.281 GB, free: 8.012 MB / 0.8933 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002955/5.971, allocations: 1.415 MB / 4.282 GB, free: 6.547 MB / 0.8933 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006137/5.971, allocations: 185.9 kB / 4.283 GB, free: 6.363 MB / 0.8933 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001617/5.972, allocations: 68 kB / 4.283 GB, free: 6.297 MB / 0.8933 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001697/5.973, allocations: 1.004 MB / 4.284 GB, free: 5.293 MB / 0.8933 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/5.975, allocations: 1.098 MB / 4.285 GB, free: 4.141 MB / 0.8933 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/5.975, allocations: 4 kB / 4.285 GB, free: 4.137 MB / 0.8933 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.721e-05/5.975, allocations: 0 / 4.285 GB, free: 4.137 MB / 0.8933 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.614e-05/5.975, allocations: 49.98 kB / 4.285 GB, free: 4.09 MB / 0.8933 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2872/6.262, allocations: 5.249 MB / 4.29 GB, free: 207.5 MB / 0.8933 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/6.264, allocations: 0.7804 MB / 4.291 GB, free: 207.5 MB / 0.8933 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005072/6.264, allocations: 415 kB / 4.291 GB, free: 207.5 MB / 0.8933 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009161/6.265, allocations: 0.8426 MB / 4.292 GB, free: 206.7 MB / 0.8933 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006579/6.266, allocations: 0.4971 MB / 4.292 GB, free: 206.6 MB / 0.8933 GB Notification: Performance of pre-optimization done (n=82): time 3.005e-06/6.266, allocations: 0 / 4.292 GB, free: 206.6 MB / 0.8933 GB Notification: Performance of matching and sorting (n=82): time 0.002186/6.268, allocations: 1.006 MB / 4.293 GB, free: 206.6 MB / 0.8933 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/6.268, allocations: 195.7 kB / 4.293 GB, free: 206.3 MB / 0.8933 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009828/6.269, allocations: 0.915 MB / 4.294 GB, free: 206.2 MB / 0.8933 GB Notification: Performance of collectPreVariables (initialization): time 9.183e-05/6.269, allocations: 35.36 kB / 4.294 GB, free: 206.2 MB / 0.8933 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002616/6.269, allocations: 461.7 kB / 4.295 GB, free: 206 MB / 0.8933 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001649/6.269, allocations: 268.8 kB / 4.295 GB, free: 205.9 MB / 0.8933 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.046e-05/6.269, allocations: 0 / 4.295 GB, free: 205.9 MB / 0.8933 GB Notification: Performance of setup shared object (initialization): time 6.463e-05/6.27, allocations: 351.4 kB / 4.295 GB, free: 205.6 MB / 0.8933 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005588/6.27, allocations: 401.6 kB / 4.296 GB, free: 205.6 MB / 0.8933 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006791/6.271, allocations: 0.7137 MB / 4.297 GB, free: 205.2 MB / 0.8933 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009977/6.272, allocations: 0.534 MB / 4.297 GB, free: 205.2 MB / 0.8933 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/6.272, allocations: 3.625 kB / 4.297 GB, free: 205.2 MB / 0.8933 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002052/6.274, allocations: 1.251 MB / 4.298 GB, free: 205.1 MB / 0.8933 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002977/6.274, allocations: 2.033 MB / 4.3 GB, free: 203 MB / 0.8933 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/6.274, allocations: 12.22 kB / 4.3 GB, free: 203 MB / 0.8933 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/6.274, allocations: 11.06 kB / 4.3 GB, free: 203 MB / 0.8933 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001731/6.276, allocations: 354.3 kB / 4.301 GB, free: 203 MB / 0.8933 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000504/6.277, allocations: 1.222 MB / 4.302 GB, free: 201.8 MB / 0.8933 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/6.278, allocations: 201.5 kB / 4.302 GB, free: 201.8 MB / 0.8933 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/6.278, allocations: 64.97 kB / 4.302 GB, free: 201.8 MB / 0.8933 GB Notification: Performance of prepare postOptimizeDAE: time 5.671e-06/6.278, allocations: 3.906 kB / 4.302 GB, free: 201.8 MB / 0.8933 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001829/6.28, allocations: 1.07 MB / 4.303 GB, free: 201.8 MB / 0.8933 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/6.28, allocations: 11.03 kB / 4.303 GB, free: 201.8 MB / 0.8933 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/6.28, allocations: 15.16 kB / 4.303 GB, free: 201.8 MB / 0.8933 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/6.281, allocations: 336.8 kB / 4.303 GB, free: 201.8 MB / 0.8933 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/6.281, allocations: 13.69 kB / 4.303 GB, free: 201.8 MB / 0.8933 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/6.283, allocations: 190.1 kB / 4.304 GB, free: 201.8 MB / 0.8933 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/6.283, allocations: 54.3 kB / 4.304 GB, free: 201.8 MB / 0.8933 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 (134): * Single equations (assignments): 129 * 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.0002045/6.283, allocations: 144.2 kB / 4.304 GB, free: 201.7 MB / 0.8933 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/6.283, allocations: 143.3 kB / 4.304 GB, free: 201.6 MB / 0.8933 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002077/6.285, allocations: 1.146 MB / 4.305 GB, free: 201.5 MB / 0.8933 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/6.285, allocations: 14.86 kB / 4.305 GB, free: 201.5 MB / 0.8933 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/6.285, allocations: 0 / 4.305 GB, free: 201.5 MB / 0.8933 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/6.285, allocations: 3.797 kB / 4.305 GB, free: 201.5 MB / 0.8933 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003497/6.289, allocations: 2.567 MB / 4.308 GB, free: 201.1 MB / 0.8933 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/6.289, allocations: 2.281 kB / 4.308 GB, free: 201.1 MB / 0.8933 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001201/6.29, allocations: 264.3 kB / 4.308 GB, free: 201.1 MB / 0.8933 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.746e-06/6.29, allocations: 11.22 kB / 4.308 GB, free: 201.1 MB / 0.8933 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.317e-05/6.29, allocations: 25.75 kB / 4.308 GB, free: 201.1 MB / 0.8933 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003327/6.291, allocations: 1.197 MB / 4.309 GB, free: 199.9 MB / 0.8933 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/6.291, allocations: 5.531 kB / 4.309 GB, free: 199.9 MB / 0.8933 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002317/6.293, allocations: 1.986 MB / 4.311 GB, free: 199.2 MB / 0.8933 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004352/6.293, allocations: 364.7 kB / 4.311 GB, free: 199.1 MB / 0.8933 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002063/6.294, allocations: 11.2 kB / 4.311 GB, free: 199.1 MB / 0.8933 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/6.295, allocations: 139.8 kB / 4.312 GB, free: 199.1 MB / 0.8933 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/6.295, allocations: 70.73 kB / 4.312 GB, free: 199.1 MB / 0.8933 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.364e-05/6.295, allocations: 40.92 kB / 4.312 GB, free: 199.1 MB / 0.8933 GB Notification: Performance of sort global known variables: time 0.0006699/6.296, allocations: 0.6771 MB / 4.312 GB, free: 199 MB / 0.8933 GB Notification: Performance of remove unused functions: time 0.00233/6.298, allocations: 0.99 MB / 4.313 GB, free: 198.9 MB / 0.8933 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (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.002527/6.301, allocations: 2.348 MB / 4.316 GB, free: 198.4 MB / 0.8933 GB Notification: Performance of simCode: created initialization part: time 0.002628/6.303, allocations: 1.762 MB / 4.317 GB, free: 198.2 MB / 0.8933 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/6.303, allocations: 3.156 kB / 4.317 GB, free: 198.2 MB / 0.8933 GB Notification: Performance of simCode: created simulation system equations: time 0.0007828/6.304, allocations: 0.5288 MB / 4.318 GB, free: 198.2 MB / 0.8933 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002231/6.306, allocations: 0.496 MB / 4.318 GB, free: 198.2 MB / 0.8933 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003743/6.31, allocations: 2.08 MB / 4.32 GB, free: 197.6 MB / 0.8933 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/6.311, allocations: 1.411 MB / 4.322 GB, free: 196.9 MB / 0.8933 GB Notification: Performance of SimCode: time 2.7e-07/6.311, allocations: 0 / 4.322 GB, free: 196.9 MB / 0.8933 GB Notification: Performance of Templates: time 0.0534/6.364, allocations: 43.49 MB / 4.364 GB, free: 196.4 MB / 0.8933 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