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.001308/0.001308, allocations: 85.64 kB / 19.87 MB, free: 4.613 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.001504/0.001504, allocations: 169 kB / 23.27 MB, free: 1.219 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.9044/0.9044, allocations: 177.1 MB / 203.7 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.34/2.34, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 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.262e-06/1.262e-06, allocations: 0 / 0.8897 GB, free: 9.734 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.148e-05/1.274e-05, allocations: 9.062 kB / 0.8898 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.009462/0.009475, allocations: 13.26 MB / 0.9027 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.007467/0.01694, allocations: 6.305 MB / 0.9089 GB, free: 6.074 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.018, allocations: 87.25 kB / 0.9089 GB, free: 5.988 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006725/0.01867, allocations: 365.2 kB / 0.9093 GB, free: 5.629 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.005409/0.02408, allocations: 1.375 MB / 0.9106 GB, free: 4.246 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005614/0.02969, allocations: 1.434 MB / 0.912 GB, free: 2.809 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.006339/0.03603, allocations: 3.455 MB / 0.9154 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009855/0.03702, allocations: 0.8515 MB / 0.9162 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003116/0.04014, allocations: 1.672 MB / 0.9179 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00109/0.04122, allocations: 0.806 MB / 0.9187 GB, free: 12 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001708/0.0414, allocations: 100 kB / 0.9188 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00666/0.04806, allocations: 303.4 kB / 0.9191 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0002368/0.04829, allocations: 310.7 kB / 0.9193 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0004187/0.04871, allocations: 454.9 kB / 0.9198 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.04989, allocations: 1.086 MB / 0.9208 GB, free: 9.762 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.0499, allocations: 0 / 0.9208 GB, free: 9.762 MB / 0.8855 GB Notification: Performance of FrontEnd: time 9.61e-07/0.0499, allocations: 0 / 0.9208 GB, free: 9.762 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.04991, allocations: 0 / 0.9208 GB, free: 9.762 MB / 0.8855 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.004732/0.05464, allocations: 1.557 MB / 0.9224 GB, free: 8.164 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.05467, allocations: 8.625 kB / 0.9224 GB, free: 8.156 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003407/0.05501, allocations: 227.8 kB / 0.9226 GB, free: 7.934 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.05616, allocations: 1.011 MB / 0.9236 GB, free: 6.883 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.513e-05/0.05621, allocations: 58.38 kB / 0.9236 GB, free: 6.828 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.839e-05/0.05631, allocations: 91.89 kB / 0.9237 GB, free: 6.738 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.05757, allocations: 0.6971 MB / 0.9244 GB, free: 5.957 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.0576, allocations: 15.86 kB / 0.9244 GB, free: 5.941 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.694e-05/0.05765, allocations: 24 kB / 0.9244 GB, free: 5.918 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-05/0.05769, allocations: 20 kB / 0.9245 GB, free: 5.898 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003865/0.05808, allocations: 206.1 kB / 0.9247 GB, free: 5.695 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009197/0.06727, allocations: 3.004 MB / 0.9276 GB, free: 2.59 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002962/0.06757, allocations: 138.8 kB / 0.9277 GB, free: 2.441 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.06769, allocations: 75.61 kB / 0.9278 GB, free: 2.363 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001288/0.06782, allocations: 29.86 kB / 0.9278 GB, free: 2.336 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.06784, allocations: 37.39 kB / 0.9279 GB, free: 2.289 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=31): time 1.904e-06/0.06784, allocations: 0 / 0.9279 GB, free: 2.289 MB / 0.8855 GB Notification: Performance of matching and sorting (n=31): time 0.0005813/0.06842, allocations: 285.5 kB / 0.9281 GB, free: 2.004 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.06845, allocations: 59.41 kB / 0.9282 GB, free: 1.934 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008053/0.06926, allocations: 0.7963 MB / 0.929 GB, free: 1.113 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.667e-05/0.06929, allocations: 41.64 kB / 0.929 GB, free: 1.066 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.003437/0.07273, allocations: 0.5884 MB / 0.9296 GB, free: 480 kB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.336e-05/0.07282, allocations: 115 kB / 0.9297 GB, free: 364 kB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001851/0.07301, allocations: 156.2 kB / 0.9298 GB, free: 196 kB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.07317, allocations: 0.5042 MB / 0.9303 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.07334, allocations: 69.94 kB / 0.9304 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004544/0.07379, allocations: 0.6236 MB / 0.931 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006904/0.07448, allocations: 0.5695 MB / 0.9316 GB, free: 14.03 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.07449, allocations: 8 kB / 0.9316 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0008061/0.07529, allocations: 0.5353 MB / 0.9321 GB, free: 13.48 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.07532, allocations: 10.88 kB / 0.9321 GB, free: 13.47 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.07534, allocations: 11.98 kB / 0.9321 GB, free: 13.46 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/0.07536, allocations: 16 kB / 0.9321 GB, free: 13.44 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004355/0.0758, allocations: 155.8 kB / 0.9323 GB, free: 13.29 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/0.07581, allocations: 15.94 kB / 0.9323 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004534/0.07627, allocations: 79.44 kB / 0.9324 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.065e-05/0.07633, allocations: 28 kB / 0.9324 GB, free: 13.17 MB / 0.9011 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.0002256/0.07655, allocations: 208.3 kB / 0.9326 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.0767, allocations: 107.3 kB / 0.9327 GB, free: 12.85 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004947/0.07719, allocations: 303 kB / 0.933 GB, free: 12.55 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.0772, allocations: 4 kB / 0.933 GB, free: 12.55 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.07721, allocations: 0 / 0.933 GB, free: 12.55 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002029/0.07741, allocations: 266.1 kB / 0.9332 GB, free: 12.26 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000811/0.07822, allocations: 0.9069 MB / 0.9341 GB, free: 11.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.07822, allocations: 4 kB / 0.9341 GB, free: 11.29 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000177/0.0784, allocations: 67.89 kB / 0.9342 GB, free: 11.23 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.07841, allocations: 4.156 kB / 0.9342 GB, free: 11.22 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.07842, allocations: 12 kB / 0.9342 GB, free: 11.21 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.07842, allocations: 0 / 0.9342 GB, free: 11.21 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.07843, allocations: 4 kB / 0.9342 GB, free: 11.21 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003929/0.07882, allocations: 0.5133 MB / 0.9347 GB, free: 10.66 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.07898, allocations: 151.2 kB / 0.9349 GB, free: 10.51 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.656e-05/0.07902, allocations: 4 kB / 0.9349 GB, free: 10.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.07922, allocations: 19.98 kB / 0.9349 GB, free: 10.48 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/0.07926, allocations: 27.89 kB / 0.9349 GB, free: 10.46 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.07929, allocations: 24.02 kB / 0.9349 GB, free: 10.43 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.000294/0.07958, allocations: 480.9 kB / 0.9354 GB, free: 9.953 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8e-08/0.07958, allocations: 0 / 0.9354 GB, free: 9.953 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005041/0.08008, allocations: 287.4 kB / 0.9357 GB, free: 9.672 MB / 0.9011 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.0002389/0.08032, allocations: 186.9 kB / 0.9358 GB, free: 9.48 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0003053/0.08063, allocations: 283.8 kB / 0.9361 GB, free: 9.203 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.08063, allocations: 8.062 kB / 0.9361 GB, free: 9.195 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 9.826e-05/0.08073, allocations: 87.52 kB / 0.9362 GB, free: 9.105 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.0818, allocations: 0.4896 MB / 0.9367 GB, free: 8.625 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.08345, allocations: 1.515 MB / 0.9382 GB, free: 7.047 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.08372, allocations: 211.2 kB / 0.9384 GB, free: 6.82 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003202/0.08404, allocations: 150.5 kB / 0.9385 GB, free: 6.672 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005814/0.08462, allocations: 445.8 kB / 0.9389 GB, free: 6.234 MB / 0.9011 GB Notification: Performance of SimCode: time 5.92e-07/0.08462, allocations: 3.938 kB / 0.9389 GB, free: 6.23 MB / 0.9011 GB Notification: Performance of Templates: time 0.01907/0.1037, allocations: 18.06 MB / 0.9566 GB, free: 4.605 MB / 0.9167 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.56772334780544]