Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem1a.T|senTem1b.T|senTem2a.T|senTem2b.T|senTem3a.T|senTem3b.T|senTem4a.T|senTem4b.T|mix1.T|hea1.m_flow|hea2.m_flow|hea3.m_flow|hea4.m_flow|senTem5b.T|senTem5a.T|senTem6b.T|senTem7a.T|senTem7b.T|senTem8a.T|senTem8b.T|mix2.T|hea5.m_flow|hea6.m_flow|hea7.m_flow|hea8.m_flow|che1.y|che2.y|che9.y|che10.y|che3.y|che4.y|che5.y|che6.y|che7.y|che8.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem1a.T|senTem1b.T|senTem2a.T|senTem2b.T|senTem3a.T|senTem3b.T|senTem4a.T|senTem4b.T|mix1.T|hea1.m_flow|hea2.m_flow|hea3.m_flow|hea4.m_flow|senTem5b.T|senTem5a.T|senTem6b.T|senTem7a.T|senTem7b.T|senTem8a.T|senTem8b.T|mix2.T|hea5.m_flow|hea6.m_flow|hea7.m_flow|hea8.m_flow|che1.y|che2.y|che9.y|che10.y|che3.y|che4.y|che5.y|che6.y|che7.y|che8.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") [: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 9.1.1-maint.9.1.x/package.mo): time 2.098/2.098, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.001401/0.001401, allocations: 181.3 kB / 487 MB, free: 5.371 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.509/1.509, allocations: 221.3 MB / 0.7819 GB, free: 1.426 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 101.9 kB / 0.9213 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.667e-06/8.697e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3209, allocations: 142.3 MB / 1.205 GB, free: 26.26 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.206/1.527, allocations: 421.1 MB / 1.616 GB, free: 2.527 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003621/1.527, allocations: 95.31 kB / 1.616 GB, free: 2.48 MB / 1.042 GB Notification: Performance of FrontEnd: time 9.356/10.88, allocations: 2.802 GB / 4.419 GB, free: 14.4 MB / 1.26 GB Notification: Performance of Transformations before backend: time 0.001104/10.88, allocations: 173.4 kB / 4.419 GB, free: 14.23 MB / 1.26 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.02067/10.9, allocations: 5.941 MB / 4.425 GB, free: 8.176 MB / 1.26 GB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/10.9, allocations: 9.031 kB / 4.425 GB, free: 8.168 MB / 1.26 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005452/10.91, allocations: 0.7803 MB / 4.426 GB, free: 7.379 MB / 1.26 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8858/11.8, allocations: 60.92 MB / 4.485 GB, free: 157.6 MB / 1.276 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003239/11.8, allocations: 129.4 kB / 4.485 GB, free: 157.6 MB / 1.276 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001729/11.8, allocations: 254.6 kB / 4.486 GB, free: 157.6 MB / 1.276 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008079/11.81, allocations: 2.545 MB / 4.488 GB, free: 157.6 MB / 1.276 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01097/11.82, allocations: 3.623 MB / 4.492 GB, free: 156.9 MB / 1.276 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002236/11.82, allocations: 10.06 kB / 4.492 GB, free: 156.9 MB / 1.276 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009538/11.82, allocations: 10.66 kB / 4.492 GB, free: 156.9 MB / 1.276 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001153/11.82, allocations: 125.1 kB / 4.492 GB, free: 156.9 MB / 1.276 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02972/11.85, allocations: 26.04 MB / 4.517 GB, free: 140.9 MB / 1.276 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/11.85, allocations: 1.087 MB / 4.518 GB, free: 140.9 MB / 1.276 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001441/11.85, allocations: 1.102 MB / 4.519 GB, free: 140.9 MB / 1.276 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00265/11.85, allocations: 3.94 MB / 4.523 GB, free: 136.5 MB / 1.276 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.633e-05/11.85, allocations: 64.5 kB / 4.523 GB, free: 136.4 MB / 1.276 GB Notification: Performance of pre-optimization done (n=225): time 4.85e-06/11.85, allocations: 2.344 kB / 4.523 GB, free: 136.4 MB / 1.276 GB Notification: Performance of matching and sorting (n=225): time 0.008582/11.86, allocations: 2.965 MB / 4.526 GB, free: 136 MB / 1.276 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/11.86, allocations: 73.75 kB / 4.526 GB, free: 136 MB / 1.276 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005797/11.87, allocations: 3.311 MB / 4.529 GB, free: 135.7 MB / 1.276 GB Notification: Performance of collectPreVariables (initialization): time 0.0005351/11.87, allocations: 33.14 kB / 4.529 GB, free: 135.7 MB / 1.276 GB Notification: Performance of collectInitialEqns (initialization): time 0.001462/11.87, allocations: 1.709 MB / 4.531 GB, free: 135 MB / 1.276 GB Notification: Performance of collectInitialBindings (initialization): time 0.001334/11.87, allocations: 0.7517 MB / 4.532 GB, free: 134.6 MB / 1.276 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/11.87, allocations: 0 / 4.532 GB, free: 134.6 MB / 1.276 GB Notification: Performance of setup shared object (initialization): time 0.0001903/11.87, allocations: 410.2 kB / 4.532 GB, free: 134.3 MB / 1.276 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001246/11.87, allocations: 0.7396 MB / 4.533 GB, free: 134.3 MB / 1.276 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001767/11.88, allocations: 1.707 MB / 4.535 GB, free: 133.2 MB / 1.276 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003952/11.88, allocations: 1.411 MB / 4.536 GB, free: 133.1 MB / 1.276 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.105e-05/11.88, allocations: 6.094 kB / 4.536 GB, free: 133.1 MB / 1.276 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.009788/11.89, allocations: 3.556 MB / 4.539 GB, free: 132.7 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 0.002077/11.89, allocations: 10.3 MB / 4.55 GB, free: 122 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.736e-05/11.89, allocations: 21.25 kB / 4.55 GB, free: 122 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008919/11.89, allocations: 381.5 kB / 4.55 GB, free: 122 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001994/11.89, allocations: 0.5146 MB / 4.55 GB, free: 122 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002214/11.9, allocations: 2.853 MB / 4.553 GB, free: 119.9 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006093/11.9, allocations: 499.6 kB / 4.554 GB, free: 119.8 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005603/11.9, allocations: 138.2 kB / 4.554 GB, free: 119.8 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/11.9, allocations: 4.688 kB / 4.554 GB, free: 119.8 MB / 1.276 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008109/11.91, allocations: 2.824 MB / 4.557 GB, free: 119.7 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.033e-05/11.91, allocations: 23.59 kB / 4.557 GB, free: 119.7 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/11.91, allocations: 395 kB / 4.557 GB, free: 119.7 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001921/11.91, allocations: 0.5144 MB / 4.557 GB, free: 119.7 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00871/11.92, allocations: 7.317 MB / 4.565 GB, free: 114.5 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006218/11.93, allocations: 460.3 kB / 4.565 GB, free: 114.4 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007534/11.93, allocations: 125.7 kB / 4.565 GB, free: 114.4 MB / 1.276 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (291): * Single equations (assignments): 287 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 14,1 11,1 14,1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0013/11.93, allocations: 188.6 kB / 4.565 GB, free: 114.3 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002237/11.93, allocations: 0.4986 MB / 4.566 GB, free: 114 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01118/11.95, allocations: 4.155 MB / 4.57 GB, free: 113.8 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.92e-05/11.95, allocations: 36.88 kB / 4.57 GB, free: 113.8 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/11.95, allocations: 0 / 4.57 GB, free: 113.8 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006047/11.95, allocations: 2.735 MB / 4.573 GB, free: 113.6 MB / 1.276 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02085/11.97, allocations: 8.173 MB / 4.581 GB, free: 112.1 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.747e-05/11.97, allocations: 3.156 kB / 4.581 GB, free: 112.1 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001784/11.97, allocations: 387.3 kB / 4.581 GB, free: 112.1 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005883/11.97, allocations: 229.6 kB / 4.581 GB, free: 112.1 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002463/11.97, allocations: 40.8 kB / 4.581 GB, free: 112.1 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001807/11.98, allocations: 2.53 MB / 4.584 GB, free: 110 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/11.98, allocations: 0 / 4.584 GB, free: 110 MB / 1.276 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0106/11.99, allocations: 4.845 MB / 4.588 GB, free: 109.2 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004069/11.99, allocations: 0.9751 MB / 4.589 GB, free: 108.8 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002015/11.99, allocations: 3.25 kB / 4.589 GB, free: 108.8 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005431/12, allocations: 394.9 kB / 4.59 GB, free: 108.8 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002798/12, allocations: 145.6 kB / 4.59 GB, free: 108.8 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003927/12, allocations: 120.2 kB / 4.59 GB, free: 108.8 MB / 1.276 GB Notification: Performance of sort global known variables: time 0.006683/12.01, allocations: 2.451 MB / 4.592 GB, free: 108.6 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.02153/12.03, allocations: 3.415 MB / 4.596 GB, free: 108.2 MB / 1.276 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (227): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.009456/12.04, allocations: 3.44 MB / 4.599 GB, free: 106.9 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.009908/12.05, allocations: 4.252 MB / 4.603 GB, free: 106.4 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/12.05, allocations: 5.031 kB / 4.603 GB, free: 106.4 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.002709/12.05, allocations: 1.251 MB / 4.604 GB, free: 106.4 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01614/12.07, allocations: 2.501 MB / 4.607 GB, free: 106.4 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.024/12.09, allocations: 7.326 MB / 4.614 GB, free: 104.5 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006399/12.1, allocations: 3.465 MB / 4.617 GB, free: 103.7 MB / 1.276 GB Notification: Performance of SimCode: time 1.573e-06/12.1, allocations: 6.125 kB / 4.617 GB, free: 103.7 MB / 1.276 GB Notification: Performance of Templates: time 0.2161/12.31, allocations: 122.4 MB / 4.737 GB, free: 96.17 MB / 1.276 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_HeaterCooler_u.csv","../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches