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.001068/0.001068, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001709/0.001709, allocations: 169 kB / 24.28 MB, free: 272 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.9649/0.9649, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.878/1.878, allocations: 377.8 MB / 0.6239 GB, free: 8.582 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 2.225e-06/2.225e-06, allocations: 0 / 0.8115 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.662e-05/2.885e-05, allocations: 7.031 kB / 0.8115 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03157/0.0316, allocations: 43.23 MB / 0.8537 GB, free: 5.641 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0114/0.043, allocations: 10.65 MB / 0.8641 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001561/0.04456, allocations: 79.31 kB / 0.8642 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001438/0.046, allocations: 0.6441 MB / 0.8649 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.004175/0.05017, allocations: 2.063 MB / 0.8669 GB, free: 8.164 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.00215/0.05232, allocations: 1.255 MB / 0.8681 GB, free: 6.906 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.003337/0.05566, allocations: 3.483 MB / 0.8715 GB, free: 3.414 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001096/0.05676, allocations: 0.8499 MB / 0.8723 GB, free: 2.543 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003269/0.06003, allocations: 1.906 MB / 0.8742 GB, free: 0.6484 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001225/0.06125, allocations: 0.8022 MB / 0.875 GB, free: 15.84 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0001472/0.0614, allocations: 100 kB / 0.8751 GB, free: 15.75 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001495/0.06289, allocations: 0.7208 MB / 0.8758 GB, free: 15.02 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0002538/0.06315, allocations: 310.7 kB / 0.8761 GB, free: 14.72 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0004607/0.06361, allocations: 439 kB / 0.8765 GB, free: 14.29 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.002142/0.06575, allocations: 1.382 MB / 0.8778 GB, free: 12.9 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.06575, allocations: 4 kB / 0.8778 GB, free: 12.9 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.533e-06/0.06576, allocations: 0 / 0.8778 GB, free: 12.9 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.182e-05/0.06577, allocations: 0 / 0.8778 GB, free: 12.9 MB / 0.7917 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.001739/0.06751, allocations: 1.565 MB / 0.8794 GB, free: 11.29 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.06755, allocations: 12.03 kB / 0.8794 GB, free: 11.28 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003223/0.06787, allocations: 204 kB / 0.8796 GB, free: 11.08 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.06907, allocations: 1.074 MB / 0.8806 GB, free: 9.969 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.671e-05/0.06911, allocations: 54.38 kB / 0.8807 GB, free: 9.914 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.131e-05/0.06919, allocations: 87.86 kB / 0.8808 GB, free: 9.828 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008173/0.07001, allocations: 0.7441 MB / 0.8815 GB, free: 9 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.07003, allocations: 0 / 0.8815 GB, free: 9 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.596e-05/0.07007, allocations: 32 kB / 0.8815 GB, free: 8.969 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.651e-05/0.07011, allocations: 20 kB / 0.8815 GB, free: 8.949 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004008/0.07051, allocations: 247.6 kB / 0.8818 GB, free: 8.707 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002433/0.07294, allocations: 2.942 MB / 0.8846 GB, free: 5.672 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/0.07324, allocations: 163.5 kB / 0.8848 GB, free: 5.504 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.07334, allocations: 75.66 kB / 0.8849 GB, free: 5.426 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001605/0.0735, allocations: 59.95 kB / 0.8849 GB, free: 5.367 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.07353, allocations: 41.39 kB / 0.885 GB, free: 5.316 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=31): time 2.906e-06/0.07353, allocations: 3.984 kB / 0.885 GB, free: 5.312 MB / 0.7917 GB Notification: Performance of matching and sorting (n=31): time 0.0004594/0.07399, allocations: 302.6 kB / 0.8853 GB, free: 5.012 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.07402, allocations: 55.41 kB / 0.8853 GB, free: 4.945 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005956/0.07462, allocations: 0.7531 MB / 0.886 GB, free: 4.176 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.07464, allocations: 37.7 kB / 0.8861 GB, free: 4.133 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002716/0.07492, allocations: 0.5573 MB / 0.8866 GB, free: 3.57 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 7.434e-05/0.07499, allocations: 127 kB / 0.8867 GB, free: 3.445 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.0751, allocations: 120 kB / 0.8869 GB, free: 3.32 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0003476/0.07545, allocations: 0.4926 MB / 0.8873 GB, free: 2.82 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.07555, allocations: 65.27 kB / 0.8874 GB, free: 2.754 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002625/0.07582, allocations: 468.8 kB / 0.8879 GB, free: 2.156 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003327/0.07615, allocations: 389.1 kB / 0.8882 GB, free: 1.68 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.07615, allocations: 4 kB / 0.8882 GB, free: 1.676 MB / 0.7917 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0004902/0.07664, allocations: 448.4 kB / 0.8887 GB, free: 1.23 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.07666, allocations: 9.719 kB / 0.8887 GB, free: 1.223 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.07667, allocations: 11.94 kB / 0.8887 GB, free: 1.211 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.07669, allocations: 8 kB / 0.8887 GB, free: 1.203 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000252/0.07694, allocations: 120.5 kB / 0.8888 GB, free: 1.086 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.07695, allocations: 15.94 kB / 0.8888 GB, free: 1.07 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/0.07719, allocations: 59.55 kB / 0.8889 GB, free: 1.012 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-05/0.07722, allocations: 32 kB / 0.8889 GB, free: 0.9805 MB / 0.7917 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.0001548/0.07738, allocations: 180.5 kB / 0.8891 GB, free: 0.793 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.84e-05/0.07747, allocations: 107.4 kB / 0.8892 GB, free: 0.6875 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004182/0.07789, allocations: 312.5 kB / 0.8895 GB, free: 376 kB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.0779, allocations: 4 kB / 0.8895 GB, free: 372 kB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.0779, allocations: 0 / 0.8895 GB, free: 372 kB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002444/0.07815, allocations: 289.3 kB / 0.8898 GB, free: 52 kB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.0792, allocations: 1.043 MB / 0.8908 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.0792, allocations: 0 / 0.8908 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/0.07939, allocations: 67.89 kB / 0.8908 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.0794, allocations: 4 kB / 0.8908 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.07941, allocations: 8 kB / 0.8908 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.07942, allocations: 7.938 kB / 0.8909 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.07942, allocations: 8.141 kB / 0.8909 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000504/0.07993, allocations: 0.5358 MB / 0.8914 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001667/0.08009, allocations: 135.3 kB / 0.8915 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.863e-05/0.08015, allocations: 12 kB / 0.8915 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.08036, allocations: 27.88 kB / 0.8916 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.134e-05/0.08042, allocations: 27.89 kB / 0.8916 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/0.08044, allocations: 23.98 kB / 0.8916 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0003934/0.08084, allocations: 482.9 kB / 0.8921 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.08084, allocations: 0 / 0.8921 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007267/0.08156, allocations: 363.1 kB / 0.8924 GB, free: 13.23 MB / 0.8073 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.00062/0.08218, allocations: 380.5 kB / 0.8928 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000401/0.08258, allocations: 248.6 kB / 0.893 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.08259, allocations: 0 / 0.893 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.08273, allocations: 108.9 kB / 0.8931 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.08393, allocations: 496.7 kB / 0.8936 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002236/0.08617, allocations: 1.462 MB / 0.895 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.0863, allocations: 191.2 kB / 0.8952 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0004108/0.08671, allocations: 170.7 kB / 0.8954 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.08682, allocations: 80.47 kB / 0.8954 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of SimCode: time 1.964e-06/0.08683, allocations: 0 / 0.8954 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of Templates: time 0.02301/0.1098, allocations: 18.85 MB / 0.9138 GB, free: 7.629 MB / 0.823 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.584034027066082]