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.001506/0.001506, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001597/0.001597, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.9518/0.9518, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.18/2.18, allocations: 429.5 MB / 0.6736 GB, free: 4.059 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.432e-06/1.432e-06, allocations: 0 / 0.8782 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.832e-05/2.976e-05, allocations: 3.562 kB / 0.8782 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03281/0.03284, allocations: 43.38 MB / 0.9206 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.01384/0.04669, allocations: 11.6 MB / 0.9319 GB, free: 15.5 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001987/0.04868, allocations: 83.31 kB / 0.932 GB, free: 15.42 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.001826/0.0505, allocations: 0.6518 MB / 0.9326 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.004796/0.0553, allocations: 2.09 MB / 0.9346 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.003217/0.05851, allocations: 1.57 MB / 0.9362 GB, free: 11.09 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.004148/0.06266, allocations: 3.557 MB / 0.9397 GB, free: 7.523 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001374/0.06404, allocations: 0.8554 MB / 0.9405 GB, free: 6.637 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004029/0.06806, allocations: 1.968 MB / 0.9424 GB, free: 4.68 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00194/0.07, allocations: 0.806 MB / 0.9432 GB, free: 3.871 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0002767/0.07028, allocations: 100 kB / 0.9433 GB, free: 3.773 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001755/0.07204, allocations: 0.7247 MB / 0.944 GB, free: 3.047 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0003459/0.07238, allocations: 326.6 kB / 0.9443 GB, free: 2.727 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0007205/0.0731, allocations: 454.9 kB / 0.9447 GB, free: 2.281 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.002593/0.0757, allocations: 1.409 MB / 0.9461 GB, free: 0.8672 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.0757, allocations: 0 / 0.9461 GB, free: 0.8672 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.292e-06/0.0757, allocations: 4 kB / 0.9461 GB, free: 0.8633 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.205e-05/0.07573, allocations: 0 / 0.9461 GB, free: 0.8633 MB / 0.9011 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.002045/0.07778, allocations: 1.635 MB / 0.9477 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.07782, allocations: 12.03 kB / 0.9477 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000397/0.07822, allocations: 211.9 kB / 0.9479 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.07966, allocations: 1.132 MB / 0.949 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.896e-05/0.0797, allocations: 62.38 kB / 0.9491 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.709e-05/0.07979, allocations: 87.94 kB / 0.9492 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000863/0.08065, allocations: 0.7402 MB / 0.9499 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.08067, allocations: 3.953 kB / 0.9499 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.78e-05/0.08072, allocations: 28 kB / 0.9499 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.851e-05/0.08077, allocations: 20 kB / 0.95 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004462/0.08121, allocations: 247.6 kB / 0.9502 GB, free: 12.53 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002734/0.08395, allocations: 3.001 MB / 0.9531 GB, free: 9.434 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004569/0.0844, allocations: 146.9 kB / 0.9533 GB, free: 9.277 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.08452, allocations: 87.48 kB / 0.9533 GB, free: 9.188 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001807/0.0847, allocations: 59.97 kB / 0.9534 GB, free: 9.129 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.08472, allocations: 41.39 kB / 0.9534 GB, free: 9.078 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=31): time 2.916e-06/0.08473, allocations: 0 / 0.9534 GB, free: 9.078 MB / 0.9167 GB Notification: Performance of matching and sorting (n=31): time 0.0005423/0.08527, allocations: 310.2 kB / 0.9537 GB, free: 8.77 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.0853, allocations: 59.39 kB / 0.9538 GB, free: 8.699 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007167/0.08602, allocations: 0.828 MB / 0.9546 GB, free: 7.848 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.08605, allocations: 37.7 kB / 0.9546 GB, free: 7.805 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003051/0.08636, allocations: 0.573 MB / 0.9552 GB, free: 7.223 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 7.716e-05/0.08644, allocations: 127 kB / 0.9553 GB, free: 7.098 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.08657, allocations: 148.3 kB / 0.9555 GB, free: 6.945 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.08669, allocations: 0.5004 MB / 0.9559 GB, free: 6.438 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.08682, allocations: 73.94 kB / 0.956 GB, free: 6.367 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006492/0.08747, allocations: 0.6276 MB / 0.9566 GB, free: 5.523 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004813/0.08795, allocations: 0.5889 MB / 0.9572 GB, free: 4.762 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.08795, allocations: 4 kB / 0.9572 GB, free: 4.758 MB / 0.9167 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0006936/0.08865, allocations: 0.5635 MB / 0.9578 GB, free: 4.188 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.08867, allocations: 10.03 kB / 0.9578 GB, free: 4.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.08868, allocations: 11.98 kB / 0.9578 GB, free: 4.168 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.0887, allocations: 16.03 kB / 0.9578 GB, free: 4.152 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/0.08903, allocations: 151.8 kB / 0.9579 GB, free: 4.004 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.08904, allocations: 19.92 kB / 0.958 GB, free: 3.984 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003712/0.08941, allocations: 87.33 kB / 0.958 GB, free: 3.898 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-05/0.08946, allocations: 36 kB / 0.9581 GB, free: 3.859 MB / 0.9167 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.0002164/0.08967, allocations: 200.3 kB / 0.9583 GB, free: 3.652 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.08979, allocations: 107.3 kB / 0.9584 GB, free: 3.547 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004456/0.09024, allocations: 306.1 kB / 0.9587 GB, free: 3.238 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.09025, allocations: 7.984 kB / 0.9587 GB, free: 3.23 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.09026, allocations: 0 / 0.9587 GB, free: 3.23 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002585/0.09051, allocations: 289.3 kB / 0.9589 GB, free: 2.918 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/0.09174, allocations: 1.065 MB / 0.96 GB, free: 1.793 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.09174, allocations: 7.938 kB / 0.96 GB, free: 1.785 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001925/0.09194, allocations: 59.97 kB / 0.9601 GB, free: 1.727 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.259e-06/0.09194, allocations: 8.156 kB / 0.9601 GB, free: 1.719 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.09196, allocations: 15.98 kB / 0.9601 GB, free: 1.703 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.09197, allocations: 7.938 kB / 0.9601 GB, free: 1.695 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.09197, allocations: 0 / 0.9601 GB, free: 1.695 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005436/0.09251, allocations: 0.5396 MB / 0.9606 GB, free: 1.117 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001942/0.09271, allocations: 147.2 kB / 0.9608 GB, free: 0.9727 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.251e-05/0.09277, allocations: 8 kB / 0.9608 GB, free: 0.9648 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002251/0.09299, allocations: 19.97 kB / 0.9608 GB, free: 0.9453 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.535e-05/0.09306, allocations: 31.95 kB / 0.9608 GB, free: 0.9141 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.847e-05/0.09309, allocations: 28.02 kB / 0.9608 GB, free: 0.8867 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0004422/0.09353, allocations: 0.505 MB / 0.9613 GB, free: 380 kB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.09353, allocations: 0 / 0.9613 GB, free: 380 kB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0008178/0.09435, allocations: 371 kB / 0.9617 GB, free: 8 kB / 0.9167 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.000525/0.09487, allocations: 389.9 kB / 0.9621 GB, free: 15.62 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.000435/0.09531, allocations: 303.9 kB / 0.9623 GB, free: 15.32 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.09531, allocations: 3.938 kB / 0.9623 GB, free: 15.32 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.09545, allocations: 104.3 kB / 0.9624 GB, free: 15.21 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.09668, allocations: 497.3 kB / 0.9629 GB, free: 14.74 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002338/0.09902, allocations: 1.52 MB / 0.9644 GB, free: 13.16 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001432/0.09916, allocations: 207.4 kB / 0.9646 GB, free: 12.93 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0004775/0.09964, allocations: 174.5 kB / 0.9648 GB, free: 12.76 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.09976, allocations: 76.48 kB / 0.9648 GB, free: 12.69 MB / 0.9323 GB Notification: Performance of SimCode: time 1.974e-06/0.09976, allocations: 0 / 0.9648 GB, free: 12.69 MB / 0.9323 GB Notification: Performance of Templates: time 0.02394/0.1237, allocations: 19.19 MB / 0.9836 GB, free: 9.902 MB / 0.948 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.957966248039156]