Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000928/0.000928, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009279/0.0009279, allocations: 161 kB / 24.16 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9304/0.9304, allocations: 177.1 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.925/1.925, allocations: 377.9 MB / 0.624 GB, free: 8.363 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fouPor.Q1_flow|fouPor.Q2_flow|fouPor.vol1.T|fouPor.vol2.T|sou2.T|sou1.T_in|sin.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fouPor.Q1_flow|fouPor.Q2_flow|fouPor.vol1.T|fouPor.vol2.T|sou2.T|sou1.T_in|sin.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.633e-05/1.798e-05, allocations: 2.312 kB / 0.76 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.01177/0.01179, allocations: 13.16 MB / 0.7729 GB, free: 9.48 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.007873/0.01966, allocations: 5.473 MB / 0.7782 GB, free: 4.039 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.0208, allocations: 79.31 kB / 0.7783 GB, free: 3.961 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0007279/0.02153, allocations: 373.8 kB / 0.7786 GB, free: 3.594 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.002225/0.02375, allocations: 1.355 MB / 0.78 GB, free: 2.242 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001944/0.02569, allocations: 1.106 MB / 0.7811 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.002896/0.02859, allocations: 3.402 MB / 0.7844 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009748/0.02957, allocations: 0.8498 MB / 0.7852 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002088/0.03165, allocations: 1.61 MB / 0.7868 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007076/0.03236, allocations: 0.7643 MB / 0.7875 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.885e-05/0.03246, allocations: 96 kB / 0.7876 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004335/0.03289, allocations: 287.5 kB / 0.7879 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001935/0.03309, allocations: 300.1 kB / 0.7882 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003291/0.03342, allocations: 434.9 kB / 0.7886 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0009049/0.03432, allocations: 1.043 MB / 0.7896 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.03432, allocations: 5.375 kB / 0.7896 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.52e-07/0.03432, allocations: 3.938 kB / 0.7896 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.03433, allocations: 0 / 0.7896 GB, free: 8.344 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.001271/0.0356, allocations: 1.352 MB / 0.7909 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.822e-05/0.03563, allocations: 12.84 kB / 0.791 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002268/0.03586, allocations: 168.6 kB / 0.7911 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008317/0.03669, allocations: 0.7329 MB / 0.7918 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.503e-05/0.03673, allocations: 63.08 kB / 0.7919 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.074e-05/0.0368, allocations: 80.56 kB / 0.792 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000551/0.03735, allocations: 0.6953 MB / 0.7926 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.03737, allocations: 7.891 kB / 0.7927 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.783e-05/0.0374, allocations: 28 kB / 0.7927 GB, free: 5.078 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.13e-05/0.03744, allocations: 24.78 kB / 0.7927 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002481/0.03768, allocations: 203 kB / 0.7929 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/0.03952, allocations: 2.169 MB / 0.795 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.03972, allocations: 168 kB / 0.7952 GB, free: 2.438 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.505e-05/0.03978, allocations: 66.22 kB / 0.7952 GB, free: 2.371 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.315e-05/0.03987, allocations: 33.03 kB / 0.7953 GB, free: 2.34 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.03989, allocations: 38.56 kB / 0.7953 GB, free: 2.293 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=31): time 1.854e-06/0.03989, allocations: 1.25 kB / 0.7953 GB, free: 2.293 MB / 0.7448 GB Notification: Performance of matching and sorting (n=31): time 0.0002658/0.04016, allocations: 199.1 kB / 0.7955 GB, free: 2.094 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.04018, allocations: 55.41 kB / 0.7955 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000463/0.04065, allocations: 0.6897 MB / 0.7962 GB, free: 1.32 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.04067, allocations: 37.64 kB / 0.7963 GB, free: 1.277 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003218/0.041, allocations: 409.8 kB / 0.7966 GB, free: 0.8711 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.906e-05/0.04105, allocations: 115.7 kB / 0.7968 GB, free: 0.7578 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.582e-05/0.04115, allocations: 118.2 kB / 0.7969 GB, free: 0.6367 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.015e-05/0.04122, allocations: 326.8 kB / 0.7972 GB, free: 320 kB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.281e-05/0.04131, allocations: 64.05 kB / 0.7972 GB, free: 256 kB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.04153, allocations: 390.7 kB / 0.7976 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002717/0.0418, allocations: 333.2 kB / 0.7979 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.0418, allocations: 0 / 0.7979 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0003495/0.04215, allocations: 352.1 kB / 0.7983 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.04217, allocations: 8 kB / 0.7983 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.04217, allocations: 5.594 kB / 0.7983 GB, free: 15 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.04219, allocations: 8 kB / 0.7983 GB, free: 15 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.0424, allocations: 119.8 kB / 0.7984 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.04241, allocations: 8.875 kB / 0.7984 GB, free: 14.87 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002016/0.04261, allocations: 63.55 kB / 0.7985 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/0.04264, allocations: 24.78 kB / 0.7985 GB, free: 14.79 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001339/0.04277, allocations: 142.2 kB / 0.7986 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.05e-05/0.04284, allocations: 67.86 kB / 0.7987 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002679/0.04311, allocations: 254.5 kB / 0.7989 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.04311, allocations: 5.531 kB / 0.7989 GB, free: 14.31 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.04312, allocations: 0 / 0.7989 GB, free: 14.31 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001375/0.04325, allocations: 218.9 kB / 0.7992 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007095/0.04396, allocations: 0.7723 MB / 0.7999 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.04397, allocations: 8.062 kB / 0.7999 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.04412, allocations: 71.89 kB / 0.8 GB, free: 13.18 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.04412, allocations: 0 / 0.8 GB, free: 13.18 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.04414, allocations: 8.844 kB / 0.8 GB, free: 13.17 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.04414, allocations: 4 kB / 0.8 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.04414, allocations: 4.688 kB / 0.8 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003198/0.04446, allocations: 436.7 kB / 0.8004 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.0446, allocations: 111.3 kB / 0.8005 GB, free: 12.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.152e-05/0.04465, allocations: 8 kB / 0.8005 GB, free: 12.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.04483, allocations: 19.94 kB / 0.8006 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.363e-05/0.04487, allocations: 35.83 kB / 0.8006 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.04489, allocations: 11.98 kB / 0.8006 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002329/0.04512, allocations: 339.8 kB / 0.8009 GB, free: 12.19 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.04512, allocations: 0.7188 kB / 0.8009 GB, free: 12.19 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004123/0.04553, allocations: 279.4 kB / 0.8012 GB, free: 11.91 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002314/0.04577, allocations: 167.4 kB / 0.8013 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002542/0.04602, allocations: 225.2 kB / 0.8016 GB, free: 11.53 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/0.04603, allocations: 12.75 kB / 0.8016 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 9.081e-05/0.04612, allocations: 89.67 kB / 0.8017 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009804/0.0471, allocations: 489.9 kB / 0.8021 GB, free: 10.98 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.04877, allocations: 1.43 MB / 0.8035 GB, free: 9.504 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.04888, allocations: 195.2 kB / 0.8037 GB, free: 9.293 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002996/0.04918, allocations: 147.8 kB / 0.8039 GB, free: 9.148 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005558/0.04974, allocations: 357 kB / 0.8042 GB, free: 8.793 MB / 0.7605 GB Notification: Performance of SimCode: time 1.102e-06/0.04974, allocations: 4 kB / 0.8042 GB, free: 8.789 MB / 0.7605 GB Notification: Performance of Templates: time 0.02352/0.07325, allocations: 17.57 MB / 0.8214 GB, free: 7.695 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.481107721105218]