Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009644/0.0009644, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001128/0.001128, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 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.9522/0.9522, allocations: 177.2 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.293/2.293, allocations: 438.8 MB / 0.6827 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.265e-05/1.439e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.009571/0.009586, allocations: 13.29 MB / 0.8516 GB, free: 0.8203 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.008454/0.01804, allocations: 6.444 MB / 0.8579 GB, free: 10.36 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001139/0.01918, allocations: 87.25 kB / 0.858 GB, free: 10.27 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007206/0.0199, allocations: 369.2 kB / 0.8583 GB, free: 9.91 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.002527/0.02243, allocations: 1.375 MB / 0.8596 GB, free: 8.527 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002501/0.02493, allocations: 1.442 MB / 0.8611 GB, free: 7.082 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.003378/0.02831, allocations: 3.442 MB / 0.8644 GB, free: 3.629 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/0.02934, allocations: 0.871 MB / 0.8653 GB, free: 2.715 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002427/0.03177, allocations: 1.667 MB / 0.8669 GB, free: 1.062 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009221/0.03269, allocations: 0.7709 MB / 0.8676 GB, free: 296 kB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001381/0.03283, allocations: 100 kB / 0.8677 GB, free: 196 kB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005288/0.03335, allocations: 303.4 kB / 0.868 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0002076/0.03356, allocations: 314.7 kB / 0.8683 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0004224/0.03398, allocations: 454.9 kB / 0.8688 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.001069/0.03505, allocations: 1.078 MB / 0.8698 GB, free: 14.06 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.03506, allocations: 0 / 0.8698 GB, free: 14.06 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.002e-06/0.03506, allocations: 0 / 0.8698 GB, free: 14.06 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.03507, allocations: 0 / 0.8698 GB, free: 14.06 MB / 0.8386 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.00131/0.03638, allocations: 1.42 MB / 0.8712 GB, free: 12.61 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.03641, allocations: 12.62 kB / 0.8712 GB, free: 12.6 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002403/0.03665, allocations: 172.5 kB / 0.8714 GB, free: 12.43 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008531/0.0375, allocations: 0.7696 MB / 0.8721 GB, free: 11.62 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.37e-05/0.03754, allocations: 66.3 kB / 0.8722 GB, free: 11.55 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.475e-05/0.03761, allocations: 83.94 kB / 0.8723 GB, free: 11.47 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005512/0.03816, allocations: 0.6983 MB / 0.873 GB, free: 10.7 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.03818, allocations: 0 / 0.873 GB, free: 10.7 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.85e-05/0.03822, allocations: 28 kB / 0.873 GB, free: 10.67 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.002e-05/0.03825, allocations: 19.98 kB / 0.873 GB, free: 10.65 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002426/0.03849, allocations: 197 kB / 0.8732 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001878/0.04037, allocations: 2.222 MB / 0.8754 GB, free: 8.16 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.04057, allocations: 171.8 kB / 0.8755 GB, free: 7.98 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.679e-05/0.04064, allocations: 71.58 kB / 0.8756 GB, free: 7.906 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.35e-05/0.04073, allocations: 31.97 kB / 0.8756 GB, free: 7.875 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.04075, allocations: 30.56 kB / 0.8757 GB, free: 7.836 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=31): time 1.322e-06/0.04075, allocations: 0 / 0.8757 GB, free: 7.836 MB / 0.8386 GB Notification: Performance of matching and sorting (n=31): time 0.0002694/0.04102, allocations: 206.1 kB / 0.8758 GB, free: 7.629 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.04105, allocations: 59.41 kB / 0.8759 GB, free: 7.559 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004665/0.04151, allocations: 0.7435 MB / 0.8766 GB, free: 6.793 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.04154, allocations: 37.7 kB / 0.8767 GB, free: 6.75 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002964/0.04184, allocations: 433.8 kB / 0.8771 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.654e-05/0.04189, allocations: 115 kB / 0.8772 GB, free: 6.207 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.042, allocations: 146.5 kB / 0.8773 GB, free: 6.059 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.435e-05/0.04207, allocations: 341.9 kB / 0.8777 GB, free: 5.719 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.04218, allocations: 68.8 kB / 0.8777 GB, free: 5.648 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002562/0.04244, allocations: 0.5165 MB / 0.8782 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003433/0.04278, allocations: 480.9 kB / 0.8787 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.04278, allocations: 8.062 kB / 0.8787 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0004127/0.0432, allocations: 440.3 kB / 0.8791 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.04321, allocations: 8 kB / 0.8791 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.04322, allocations: 16.16 kB / 0.8791 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.04324, allocations: 12 kB / 0.8791 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/0.04349, allocations: 155.7 kB / 0.8793 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.0435, allocations: 15.94 kB / 0.8793 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002389/0.04374, allocations: 75.5 kB / 0.8794 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/0.04377, allocations: 28 kB / 0.8794 GB, free: 3.613 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (83): * Single equations (assignments): 83 * 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.0001409/0.04391, allocations: 164.3 kB / 0.8796 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.392e-05/0.04397, allocations: 59.88 kB / 0.8796 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002744/0.04425, allocations: 263 kB / 0.8799 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.04425, allocations: 4 kB / 0.8799 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.04425, allocations: 0 / 0.8799 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001388/0.04439, allocations: 231.2 kB / 0.8801 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009548/0.04535, allocations: 0.7903 MB / 0.8809 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.04535, allocations: 0 / 0.8809 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.0455, allocations: 68.05 kB / 0.8809 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.04551, allocations: 8 kB / 0.8809 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.04552, allocations: 8 kB / 0.881 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.04552, allocations: 7.984 kB / 0.881 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.04553, allocations: 0 / 0.881 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003201/0.04585, allocations: 435.3 kB / 0.8814 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.04598, allocations: 119.3 kB / 0.8815 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.214e-05/0.04604, allocations: 8 kB / 0.8815 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.04622, allocations: 19.92 kB / 0.8815 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.04626, allocations: 39.91 kB / 0.8816 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.04628, allocations: 15.98 kB / 0.8816 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002434/0.04653, allocations: 362 kB / 0.8819 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.04653, allocations: 0 / 0.8819 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004435/0.04697, allocations: 295.3 kB / 0.8822 GB, free: 0.6211 MB / 0.8386 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.0002217/0.04719, allocations: 164.1 kB / 0.8824 GB, free: 464 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000265/0.04746, allocations: 269.4 kB / 0.8826 GB, free: 196 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/0.04747, allocations: 12 kB / 0.8826 GB, free: 184 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.249e-05/0.04756, allocations: 84.69 kB / 0.8827 GB, free: 96 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009555/0.04851, allocations: 498.1 kB / 0.8832 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.05002, allocations: 1.509 MB / 0.8846 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.05013, allocations: 191.4 kB / 0.8848 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002811/0.05041, allocations: 150.7 kB / 0.885 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005575/0.05097, allocations: 377 kB / 0.8853 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of SimCode: time 4.81e-07/0.05097, allocations: 0 / 0.8853 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of Templates: time 0.02022/0.0712, allocations: 17.93 MB / 0.9028 GB, free: 11.84 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.638458014000207]