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.0009583/0.0009583, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009906/0.0009906, allocations: 173 kB / 23.36 MB, free: 1.129 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.9949/0.9949, allocations: 177.1 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.463/2.463, allocations: 438.8 MB / 0.6827 GB, free: 13.63 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.342e-06/1.342e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.627e-05/1.761e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.01275/0.01277, allocations: 13.33 MB / 0.8517 GB, free: 0.8047 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.007942/0.02071, allocations: 6.452 MB / 0.858 GB, free: 10.34 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008844/0.0216, allocations: 87.25 kB / 0.858 GB, free: 10.25 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006523/0.02225, allocations: 365.2 kB / 0.8584 GB, free: 9.891 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.002034/0.02428, allocations: 1.375 MB / 0.8597 GB, free: 8.508 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001937/0.02622, allocations: 1.414 MB / 0.8611 GB, free: 7.09 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.002671/0.02889, allocations: 3.44 MB / 0.8645 GB, free: 3.637 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.03008, allocations: 0.8929 MB / 0.8653 GB, free: 2.719 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001729/0.03181, allocations: 1.624 MB / 0.8669 GB, free: 1.109 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008635/0.03267, allocations: 0.7787 MB / 0.8677 GB, free: 336 kB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.000118/0.03279, allocations: 100 kB / 0.8678 GB, free: 236 kB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004979/0.03329, allocations: 303.4 kB / 0.8681 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001932/0.03348, allocations: 314.7 kB / 0.8684 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0003417/0.03382, allocations: 450.9 kB / 0.8688 GB, free: 15.18 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0009531/0.03478, allocations: 1.078 MB / 0.8699 GB, free: 14.1 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.03478, allocations: 0 / 0.8699 GB, free: 14.1 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.102e-06/0.03478, allocations: 4 kB / 0.8699 GB, free: 14.1 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.03479, allocations: 4 kB / 0.8699 GB, free: 14.09 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.001319/0.03611, allocations: 1.417 MB / 0.8712 GB, free: 12.65 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.03614, allocations: 8.625 kB / 0.8713 GB, free: 12.64 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002655/0.03641, allocations: 176.6 kB / 0.8714 GB, free: 12.47 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008606/0.03727, allocations: 0.7734 MB / 0.8722 GB, free: 11.65 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.285e-05/0.0373, allocations: 58.38 kB / 0.8722 GB, free: 11.6 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-05/0.03738, allocations: 87.94 kB / 0.8723 GB, free: 11.51 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005684/0.03795, allocations: 0.6867 MB / 0.873 GB, free: 10.75 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.03796, allocations: 7.938 kB / 0.873 GB, free: 10.74 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.181e-05/0.03801, allocations: 31.98 kB / 0.873 GB, free: 10.71 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.34e-05/0.03804, allocations: 27.98 kB / 0.8731 GB, free: 10.68 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002658/0.0383, allocations: 189 kB / 0.8732 GB, free: 10.49 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001868/0.04017, allocations: 2.215 MB / 0.8754 GB, free: 8.207 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002233/0.0404, allocations: 175.8 kB / 0.8756 GB, free: 8.023 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.526e-05/0.04047, allocations: 75.52 kB / 0.8756 GB, free: 7.945 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.524e-05/0.04056, allocations: 27.98 kB / 0.8757 GB, free: 7.918 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.04058, allocations: 38.56 kB / 0.8757 GB, free: 7.871 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=31): time 1.312e-06/0.04058, allocations: 0 / 0.8757 GB, free: 7.871 MB / 0.8386 GB Notification: Performance of matching and sorting (n=31): time 0.0002794/0.04086, allocations: 202.1 kB / 0.8759 GB, free: 7.668 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/0.04088, allocations: 55.41 kB / 0.8759 GB, free: 7.602 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004955/0.04138, allocations: 0.7397 MB / 0.8767 GB, free: 6.84 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.04141, allocations: 37.7 kB / 0.8767 GB, free: 6.797 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/0.0416, allocations: 441.8 kB / 0.8771 GB, free: 6.359 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.41e-05/0.04166, allocations: 115 kB / 0.8772 GB, free: 6.246 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.04178, allocations: 150.5 kB / 0.8774 GB, free: 6.094 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.106e-05/0.04186, allocations: 337.9 kB / 0.8777 GB, free: 5.758 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.04197, allocations: 72.8 kB / 0.8778 GB, free: 5.684 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002875/0.04226, allocations: 0.5087 MB / 0.8783 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003648/0.04263, allocations: 476.9 kB / 0.8787 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.04263, allocations: 4 kB / 0.8787 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.000446/0.04308, allocations: 447.8 kB / 0.8791 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.04309, allocations: 15.98 kB / 0.8792 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.0431, allocations: 8 kB / 0.8792 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.04312, allocations: 12 kB / 0.8792 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002903/0.04341, allocations: 160.5 kB / 0.8793 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.04342, allocations: 23.92 kB / 0.8794 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002468/0.04367, allocations: 75.52 kB / 0.8794 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.0437, allocations: 31.97 kB / 0.8795 GB, free: 3.641 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.0001516/0.04385, allocations: 172.3 kB / 0.8796 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.933e-05/0.04392, allocations: 63.86 kB / 0.8797 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003016/0.04422, allocations: 249.9 kB / 0.8799 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.04423, allocations: 7.984 kB / 0.8799 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.04423, allocations: 0 / 0.8799 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001515/0.04438, allocations: 231.2 kB / 0.8802 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007456/0.04513, allocations: 0.7903 MB / 0.8809 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.04513, allocations: 0 / 0.8809 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.04532, allocations: 79.89 kB / 0.881 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.04532, allocations: 0 / 0.881 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.04534, allocations: 11.94 kB / 0.881 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.201e-06/0.04534, allocations: 7.984 kB / 0.881 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.04535, allocations: 4.156 kB / 0.881 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003383/0.04568, allocations: 435.3 kB / 0.8814 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.04582, allocations: 111.3 kB / 0.8815 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.18e-05/0.04587, allocations: 8 kB / 0.8816 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.04606, allocations: 19.92 kB / 0.8816 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.077e-05/0.04611, allocations: 35.88 kB / 0.8816 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.04613, allocations: 15.98 kB / 0.8816 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002586/0.04639, allocations: 358.1 kB / 0.882 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.04639, allocations: 3.969 kB / 0.882 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004575/0.04685, allocations: 303.3 kB / 0.8823 GB, free: 0.6367 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.0002239/0.04707, allocations: 160.1 kB / 0.8824 GB, free: 484 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002838/0.04735, allocations: 264.9 kB / 0.8827 GB, free: 220 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.227e-05/0.04737, allocations: 12 kB / 0.8827 GB, free: 208 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.231e-05/0.04746, allocations: 89.67 kB / 0.8828 GB, free: 116 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.04847, allocations: 496.4 kB / 0.8832 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.05005, allocations: 1.501 MB / 0.8847 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.05017, allocations: 195.4 kB / 0.8849 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003101/0.05048, allocations: 151 kB / 0.885 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000607/0.05109, allocations: 369 kB / 0.8854 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of SimCode: time 9.12e-07/0.05109, allocations: 0 / 0.8854 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of Templates: time 0.01977/0.07086, allocations: 17.95 MB / 0.9029 GB, free: 11.85 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 -s gbode -gbm=radauIIA3 -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.749484175350517]