Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.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.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_latest_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_latest_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 10.0.0-master/package.mo): time 1.973/1.973, allocations: 390.4 MB / 397.7 MB, free: 10.73 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 185 kB / 490.8 MB, free: 13.28 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.504/1.504, allocations: 221.4 MB / 0.7863 GB, free: 2.695 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001304, allocations: 95.5 kB / 0.9264 GB, free: 39.98 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 7.915e-06/7.955e-06, allocations: 0 / 1.072 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9385/0.9385, allocations: 143 MB / 1.212 GB, free: 63.53 MB / 0.7761 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.074/2.012, allocations: 421.9 MB / 1.624 GB, free: 116.3 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/2.012, allocations: 86.58 kB / 1.624 GB, free: 116.3 MB / 0.9792 GB Notification: Performance of FrontEnd: time 9.056/11.07, allocations: 2.803 GB / 4.426 GB, free: 72.36 MB / 1.26 GB Notification: Performance of Transformations before backend: time 0.001458/11.07, allocations: 177.7 kB / 4.426 GB, free: 72.33 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.02334/11.09, allocations: 5.941 MB / 4.432 GB, free: 69.46 MB / 1.26 GB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/11.09, allocations: 8.594 kB / 4.432 GB, free: 69.46 MB / 1.26 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005702/11.1, allocations: 0.777 MB / 4.433 GB, free: 69.09 MB / 1.26 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1652/11.26, allocations: 60.94 MB / 4.492 GB, free: 65.63 MB / 1.26 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001449/11.26, allocations: 126.4 kB / 4.493 GB, free: 65.63 MB / 1.26 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000679/11.27, allocations: 247.2 kB / 4.493 GB, free: 65.63 MB / 1.26 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005593/11.27, allocations: 2.544 MB / 4.495 GB, free: 65.61 MB / 1.26 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006041/11.28, allocations: 3.62 MB / 4.499 GB, free: 64.82 MB / 1.26 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001028/11.28, allocations: 19.94 kB / 4.499 GB, free: 64.8 MB / 1.26 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003366/11.28, allocations: 11.25 kB / 4.499 GB, free: 64.8 MB / 1.26 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001243/11.28, allocations: 118.9 kB / 4.499 GB, free: 64.8 MB / 1.26 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03254/11.31, allocations: 26.04 MB / 4.524 GB, free: 48.47 MB / 1.26 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/11.31, allocations: 1.089 MB / 4.525 GB, free: 48.45 MB / 1.26 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001496/11.31, allocations: 1.096 MB / 4.526 GB, free: 48.43 MB / 1.26 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002505/11.32, allocations: 3.935 MB / 4.53 GB, free: 44.02 MB / 1.26 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.929e-05/11.32, allocations: 70.55 kB / 4.53 GB, free: 43.98 MB / 1.26 GB Notification: Performance of pre-optimization done (n=225): time 4.718e-06/11.32, allocations: 0 / 4.53 GB, free: 43.98 MB / 1.26 GB Notification: Performance of matching and sorting (n=225): time 0.008566/11.32, allocations: 2.969 MB / 4.533 GB, free: 43.57 MB / 1.26 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/11.32, allocations: 75.88 kB / 4.533 GB, free: 43.5 MB / 1.26 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006629/11.33, allocations: 3.309 MB / 4.537 GB, free: 43.2 MB / 1.26 GB Notification: Performance of collectPreVariables (initialization): time 0.000689/11.33, allocations: 30.64 kB / 4.537 GB, free: 43.16 MB / 1.26 GB Notification: Performance of collectInitialEqns (initialization): time 0.001514/11.33, allocations: 1.717 MB / 4.538 GB, free: 42.27 MB / 1.26 GB Notification: Performance of collectInitialBindings (initialization): time 0.001442/11.33, allocations: 0.7478 MB / 4.539 GB, free: 41.77 MB / 1.26 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/11.33, allocations: 0 / 4.539 GB, free: 41.77 MB / 1.26 GB Notification: Performance of setup shared object (initialization): time 0.0001546/11.34, allocations: 410.9 kB / 4.539 GB, free: 41.46 MB / 1.26 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001167/11.34, allocations: 0.738 MB / 4.54 GB, free: 41.46 MB / 1.26 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001652/11.34, allocations: 1.709 MB / 4.542 GB, free: 40.29 MB / 1.26 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004394/11.34, allocations: 1.415 MB / 4.543 GB, free: 40.22 MB / 1.26 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.29e-05/11.34, allocations: 8.406 kB / 4.543 GB, free: 40.22 MB / 1.26 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.009727/11.35, allocations: 3.547 MB / 4.547 GB, free: 39.71 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 0.002306/11.35, allocations: 10.31 MB / 4.557 GB, free: 28.94 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.293e-05/11.35, allocations: 24.44 kB / 4.557 GB, free: 28.94 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008402/11.36, allocations: 380.9 kB / 4.557 GB, free: 28.91 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001923/11.36, allocations: 0.5093 MB / 4.558 GB, free: 28.87 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002159/11.36, allocations: 2.848 MB / 4.56 GB, free: 26.75 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00684/11.37, allocations: 0.4889 MB / 4.561 GB, free: 26.62 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004436/11.37, allocations: 132.6 kB / 4.561 GB, free: 26.62 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/11.37, allocations: 1.781 kB / 4.561 GB, free: 26.62 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006991/11.37, allocations: 2.836 MB / 4.564 GB, free: 26.41 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.493e-05/11.37, allocations: 18.44 kB / 4.564 GB, free: 26.41 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/11.37, allocations: 389.7 kB / 4.564 GB, free: 26.38 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001704/11.38, allocations: 0.514 MB / 4.565 GB, free: 26.35 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008116/11.38, allocations: 7.312 MB / 4.572 GB, free: 37.14 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006461/11.39, allocations: 464.1 kB / 4.572 GB, free: 37.01 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004762/11.39, allocations: 125.2 kB / 4.572 GB, free: 37.01 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.0009579/11.39, allocations: 182.2 kB / 4.573 GB, free: 36.86 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001678/11.39, allocations: 0.5073 MB / 4.573 GB, free: 36.59 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009349/11.4, allocations: 4.147 MB / 4.577 GB, free: 36.04 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.387e-05/11.4, allocations: 36.05 kB / 4.577 GB, free: 36.04 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/11.4, allocations: 7.594 kB / 4.577 GB, free: 36.04 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006284/11.41, allocations: 2.744 MB / 4.58 GB, free: 35.78 MB / 1.276 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02351/11.43, allocations: 8.17 MB / 4.588 GB, free: 32.08 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/11.43, allocations: 3.344 kB / 4.588 GB, free: 32.08 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001859/11.44, allocations: 386.4 kB / 4.588 GB, free: 32.05 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005384/11.44, allocations: 223.4 kB / 4.588 GB, free: 31.96 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001514/11.44, allocations: 43.95 kB / 4.588 GB, free: 31.95 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002025/11.44, allocations: 2.527 MB / 4.591 GB, free: 29.67 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/11.44, allocations: 6 kB / 4.591 GB, free: 29.66 MB / 1.276 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01099/11.45, allocations: 4.844 MB / 4.596 GB, free: 27.53 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003643/11.45, allocations: 0.98 MB / 4.597 GB, free: 26.92 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000717/11.45, allocations: 2.312 kB / 4.597 GB, free: 26.92 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003327/11.46, allocations: 398.2 kB / 4.597 GB, free: 26.85 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000248/11.46, allocations: 144.4 kB / 4.597 GB, free: 26.82 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002328/11.46, allocations: 113.7 kB / 4.597 GB, free: 26.8 MB / 1.276 GB Notification: Performance of sort global known variables: time 0.004257/11.46, allocations: 2.457 MB / 4.6 GB, free: 25.81 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.01448/11.48, allocations: 3.413 MB / 4.603 GB, free: 25.03 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.006332/11.48, allocations: 3.427 MB / 4.606 GB, free: 23.22 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.007731/11.49, allocations: 4.25 MB / 4.61 GB, free: 21.41 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/11.49, allocations: 2.812 kB / 4.61 GB, free: 21.41 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.002061/11.49, allocations: 1.257 MB / 4.612 GB, free: 20.96 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01832/11.51, allocations: 2.514 MB / 4.614 GB, free: 20.36 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02555/11.54, allocations: 7.335 MB / 4.621 GB, free: 13.95 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006946/11.54, allocations: 3.461 MB / 4.625 GB, free: 11.35 MB / 1.276 GB Notification: Performance of SimCode: time 2.304e-06/11.54, allocations: 0 / 4.625 GB, free: 11.35 MB / 1.276 GB Notification: Performance of Templates: time 1.103/12.65, allocations: 122.4 MB / 4.744 GB, free: 190.9 MB / 1.307 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_HeaterCooler_u.csv","../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches