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.001889/0.001889, allocations: 73.88 kB / 20.65 MB, free: 3.84 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.002201/0.002201, allocations: 169 kB / 24.05 MB, free: 452 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 1.153/1.153, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.111/2.111, allocations: 429.5 MB / 0.6743 GB, free: 3.891 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.943e-06/1.943e-06, allocations: 0 / 0.8794 GB, free: 5.965 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.571e-05/2.765e-05, allocations: 6.281 kB / 0.8794 GB, free: 5.961 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.01424/0.01427, allocations: 13.26 MB / 0.8924 GB, free: 8.664 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.009174/0.02344, allocations: 6.312 MB / 0.8985 GB, free: 2.355 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001626/0.02507, allocations: 91.25 kB / 0.8986 GB, free: 2.266 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.02609, allocations: 361.2 kB / 0.8989 GB, free: 1.91 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002998/0.02909, allocations: 1.379 MB / 0.9003 GB, free: 0.5234 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.002594/0.03168, allocations: 1.434 MB / 0.9017 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.004051/0.03573, allocations: 3.448 MB / 0.9051 GB, free: 11.63 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001315/0.03705, allocations: 0.8515 MB / 0.9059 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00301/0.04006, allocations: 1.679 MB / 0.9075 GB, free: 9.086 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001322/0.04138, allocations: 0.8139 MB / 0.9083 GB, free: 8.27 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002184/0.0416, allocations: 107.9 kB / 0.9084 GB, free: 8.164 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007768/0.04237, allocations: 295.5 kB / 0.9087 GB, free: 7.875 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002951/0.04267, allocations: 314.7 kB / 0.909 GB, free: 7.566 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005469/0.04322, allocations: 450.9 kB / 0.9094 GB, free: 7.125 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001604/0.04482, allocations: 1.078 MB / 0.9105 GB, free: 6.043 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.04483, allocations: 0 / 0.9105 GB, free: 6.043 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.242e-06/0.04483, allocations: 0 / 0.9105 GB, free: 6.043 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.784e-05/0.04486, allocations: 0 / 0.9105 GB, free: 6.043 MB / 0.8698 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.001934/0.04679, allocations: 1.576 MB / 0.912 GB, free: 4.426 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.04683, allocations: 8.031 kB / 0.912 GB, free: 4.418 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003961/0.04723, allocations: 219.9 kB / 0.9123 GB, free: 4.203 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.04845, allocations: 0.9996 MB / 0.9132 GB, free: 3.168 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.919e-05/0.04848, allocations: 58.38 kB / 0.9133 GB, free: 3.113 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-05/0.04857, allocations: 91.92 kB / 0.9134 GB, free: 3.023 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007044/0.04927, allocations: 0.701 MB / 0.9141 GB, free: 2.234 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.04929, allocations: 0 / 0.9141 GB, free: 2.234 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.517e-05/0.04934, allocations: 28 kB / 0.9141 GB, free: 2.207 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.071e-05/0.04938, allocations: 23.98 kB / 0.9141 GB, free: 2.184 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003064/0.04969, allocations: 206.1 kB / 0.9143 GB, free: 1.98 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002795/0.05248, allocations: 3.016 MB / 0.9172 GB, free: 14.87 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/0.05274, allocations: 130.9 kB / 0.9174 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.562e-05/0.05282, allocations: 67.56 kB / 0.9174 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001138/0.05293, allocations: 35.97 kB / 0.9175 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.05296, allocations: 37.39 kB / 0.9175 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=31): time 2.876e-06/0.05296, allocations: 3.938 kB / 0.9175 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of matching and sorting (n=31): time 0.000428/0.05339, allocations: 282.3 kB / 0.9178 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.05341, allocations: 51.41 kB / 0.9178 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000866/0.05428, allocations: 0.8002 MB / 0.9186 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.05431, allocations: 37.7 kB / 0.9186 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003232/0.05464, allocations: 0.5923 MB / 0.9192 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.889e-05/0.05472, allocations: 115 kB / 0.9193 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.05485, allocations: 156.2 kB / 0.9195 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.05498, allocations: 0.5043 MB / 0.92 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.05509, allocations: 69.88 kB / 0.92 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003409/0.05543, allocations: 0.6275 MB / 0.9207 GB, free: 11.06 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004604/0.05589, allocations: 0.5734 MB / 0.9212 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.0559, allocations: 4 kB / 0.9212 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0006533/0.05655, allocations: 0.536 MB / 0.9217 GB, free: 9.766 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.05657, allocations: 11.98 kB / 0.9218 GB, free: 9.754 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.05659, allocations: 12 kB / 0.9218 GB, free: 9.742 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.0566, allocations: 12 kB / 0.9218 GB, free: 9.73 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003096/0.05691, allocations: 147.8 kB / 0.9219 GB, free: 9.586 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.05693, allocations: 23.92 kB / 0.9219 GB, free: 9.562 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003467/0.05727, allocations: 79.41 kB / 0.922 GB, free: 9.484 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.728e-05/0.05731, allocations: 36.27 kB / 0.9221 GB, free: 9.449 MB / 0.8855 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.0002112/0.05752, allocations: 200.3 kB / 0.9222 GB, free: 9.242 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.05763, allocations: 111.3 kB / 0.9224 GB, free: 9.133 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003764/0.05801, allocations: 292.8 kB / 0.9226 GB, free: 8.844 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.05801, allocations: 0 / 0.9226 GB, free: 8.844 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.05802, allocations: 12 kB / 0.9226 GB, free: 8.832 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001916/0.05821, allocations: 261.4 kB / 0.9229 GB, free: 8.547 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.05922, allocations: 0.9085 MB / 0.9238 GB, free: 7.586 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.05922, allocations: 0 / 0.9238 GB, free: 7.586 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/0.05941, allocations: 67.89 kB / 0.9238 GB, free: 7.52 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.05941, allocations: 4 kB / 0.9238 GB, free: 7.516 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.05943, allocations: 8 kB / 0.9239 GB, free: 7.508 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.05943, allocations: 4 kB / 0.9239 GB, free: 7.504 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.05944, allocations: 0 / 0.9239 GB, free: 7.504 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004892/0.05993, allocations: 0.5205 MB / 0.9244 GB, free: 6.945 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002076/0.06013, allocations: 147.3 kB / 0.9245 GB, free: 6.801 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.145e-05/0.06019, allocations: 12 kB / 0.9245 GB, free: 6.789 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002377/0.06043, allocations: 19.92 kB / 0.9245 GB, free: 6.77 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.181e-05/0.06049, allocations: 31.89 kB / 0.9246 GB, free: 6.738 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.838e-05/0.06052, allocations: 19.98 kB / 0.9246 GB, free: 6.719 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0006059/0.06113, allocations: 476.9 kB / 0.925 GB, free: 6.242 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.91e-07/0.06113, allocations: 0 / 0.925 GB, free: 6.242 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007157/0.06184, allocations: 287.4 kB / 0.9253 GB, free: 5.961 MB / 0.8855 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.000313/0.06216, allocations: 194.8 kB / 0.9255 GB, free: 5.762 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004142/0.06257, allocations: 294.8 kB / 0.9258 GB, free: 5.473 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.06257, allocations: 0 / 0.9258 GB, free: 5.473 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.0627, allocations: 101.7 kB / 0.9259 GB, free: 5.371 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.06393, allocations: 492.1 kB / 0.9263 GB, free: 4.895 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002154/0.06608, allocations: 1.517 MB / 0.9278 GB, free: 3.316 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/0.06622, allocations: 203.2 kB / 0.928 GB, free: 3.098 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0004446/0.06666, allocations: 154.3 kB / 0.9282 GB, free: 2.945 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006534/0.06731, allocations: 441.8 kB / 0.9286 GB, free: 2.512 MB / 0.8855 GB Notification: Performance of SimCode: time 1.402e-06/0.06732, allocations: 0 / 0.9286 GB, free: 2.512 MB / 0.8855 GB Notification: Performance of Templates: time 0.02403/0.09135, allocations: 18.3 MB / 0.9465 GB, free: 0.6523 MB / 0.9011 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: 6.1143262279219925]