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.001888/0.001888, allocations: 81.5 kB / 19.44 MB, free: 348 kB / 13.93 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.002695/0.002695, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.594/1.594, allocations: 177.1 MB / 203.1 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] 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 3.328/3.328, allocations: 429.5 MB / 0.6729 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 176] 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.774e-06/1.774e-06, allocations: 0 / 0.8775 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.58e-05/3.757e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.05684/0.05688, allocations: 43.25 MB / 0.9197 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.02264/0.07952, allocations: 11.6 MB / 0.931 GB, free: 15.67 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0022/0.08172, allocations: 87.25 kB / 0.9311 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.002361/0.08408, allocations: 0.644 MB / 0.9317 GB, free: 14.94 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.006708/0.09079, allocations: 2.086 MB / 0.9338 GB, free: 12.84 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.005502/0.09629, allocations: 1.578 MB / 0.9353 GB, free: 11.26 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.006272/0.1026, allocations: 3.552 MB / 0.9388 GB, free: 7.695 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001995/0.1046, allocations: 0.8632 MB / 0.9396 GB, free: 6.801 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006203/0.1108, allocations: 1.964 MB / 0.9415 GB, free: 4.852 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002035/0.1128, allocations: 0.8138 MB / 0.9423 GB, free: 4.035 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0003062/0.1131, allocations: 104 kB / 0.9424 GB, free: 3.934 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002389/0.1155, allocations: 0.7247 MB / 0.9431 GB, free: 3.207 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0004333/0.1159, allocations: 318.6 kB / 0.9434 GB, free: 2.895 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0008683/0.1168, allocations: 458.9 kB / 0.9439 GB, free: 2.445 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.003833/0.1206, allocations: 2.033 MB / 0.9459 GB, free: 416 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.1206, allocations: 0 / 0.9459 GB, free: 416 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1206, allocations: 0 / 0.9459 GB, free: 416 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.984e-05/0.1207, allocations: 4 kB / 0.9459 GB, free: 412 kB / 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.003307/0.124, allocations: 1.748 MB / 0.9476 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.441e-05/0.124, allocations: 8.031 kB / 0.9476 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006651/0.1247, allocations: 215.9 kB / 0.9478 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002777/0.1275, allocations: 1.132 MB / 0.9489 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.594e-05/0.1276, allocations: 58.38 kB / 0.949 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/0.1277, allocations: 87.94 kB / 0.949 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002088/0.1298, allocations: 0.9777 MB / 0.95 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.118e-05/0.1298, allocations: 3.938 kB / 0.95 GB, free: 12.01 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.537e-05/0.1299, allocations: 32 kB / 0.95 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.097e-05/0.13, allocations: 19.98 kB / 0.95 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/0.1311, allocations: 0.4969 MB / 0.9505 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006513/0.1377, allocations: 3.706 MB / 0.9541 GB, free: 7.645 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006039/0.1383, allocations: 238.8 kB / 0.9544 GB, free: 7.398 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002945/0.1386, allocations: 134.3 kB / 0.9545 GB, free: 7.266 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002929/0.1389, allocations: 67.94 kB / 0.9546 GB, free: 7.199 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.258e-05/0.1389, allocations: 37.39 kB / 0.9546 GB, free: 7.152 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=31): time 2.765e-06/0.1389, allocations: 0 / 0.9546 GB, free: 7.152 MB / 0.9167 GB Notification: Performance of matching and sorting (n=31): time 0.001207/0.1401, allocations: 437.7 kB / 0.955 GB, free: 6.719 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.1402, allocations: 55.41 kB / 0.9551 GB, free: 6.652 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001829/0.142, allocations: 1.144 MB / 0.9562 GB, free: 5.484 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 5.294e-05/0.142, allocations: 37.7 kB / 0.9562 GB, free: 5.441 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006881/0.1427, allocations: 0.6433 MB / 0.9569 GB, free: 4.789 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/0.1429, allocations: 131 kB / 0.957 GB, free: 4.66 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002806/0.1432, allocations: 180.3 kB / 0.9572 GB, free: 4.477 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003185/0.1435, allocations: 0.5238 MB / 0.9577 GB, free: 3.945 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003447/0.1439, allocations: 141.9 kB / 0.9578 GB, free: 3.801 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008969/0.1447, allocations: 0.7251 MB / 0.9585 GB, free: 2.859 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.1459, allocations: 0.7219 MB / 0.9592 GB, free: 1.965 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.1459, allocations: 4 kB / 0.9592 GB, free: 1.961 MB / 0.9167 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001336/0.1472, allocations: 0.6803 MB / 0.9599 GB, free: 1.273 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.1472, allocations: 8 kB / 0.9599 GB, free: 1.266 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.1473, allocations: 12 kB / 0.9599 GB, free: 1.254 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.988e-05/0.1473, allocations: 12 kB / 0.9599 GB, free: 1.242 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005331/0.1478, allocations: 151.7 kB / 0.9601 GB, free: 1.094 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.824e-05/0.1478, allocations: 19.94 kB / 0.9601 GB, free: 1.074 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005955/0.1484, allocations: 83.89 kB / 0.9602 GB, free: 0.9922 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.388e-05/0.1485, allocations: 32 kB / 0.9602 GB, free: 0.9609 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.0004837/0.149, allocations: 328.2 kB / 0.9605 GB, free: 0.6289 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001948/0.1492, allocations: 107.3 kB / 0.9606 GB, free: 0.5234 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000923/0.1501, allocations: 399.5 kB / 0.961 GB, free: 128 kB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/0.1501, allocations: 7.938 kB / 0.961 GB, free: 120 kB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1501, allocations: 0 / 0.961 GB, free: 120 kB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006974/0.1508, allocations: 374.3 kB / 0.9613 GB, free: 15.72 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002771/0.1536, allocations: 1.397 MB / 0.9627 GB, free: 14.27 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.1536, allocations: 0 / 0.9627 GB, free: 14.27 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003238/0.1539, allocations: 63.91 kB / 0.9628 GB, free: 14.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.864e-06/0.1539, allocations: 4 kB / 0.9628 GB, free: 14.2 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.169e-05/0.154, allocations: 16.14 kB / 0.9628 GB, free: 14.18 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.154, allocations: 4 kB / 0.9628 GB, free: 14.18 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.154, allocations: 0 / 0.9628 GB, free: 14.18 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.1553, allocations: 0.7036 MB / 0.9635 GB, free: 13.44 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003853/0.1556, allocations: 147.2 kB / 0.9636 GB, free: 13.29 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.1557, allocations: 4 kB / 0.9636 GB, free: 13.29 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004128/0.1562, allocations: 23.94 kB / 0.9637 GB, free: 13.27 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.1563, allocations: 39.98 kB / 0.9637 GB, free: 13.23 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-05/0.1563, allocations: 27.92 kB / 0.9637 GB, free: 13.2 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001092/0.1574, allocations: 0.6651 MB / 0.9644 GB, free: 12.52 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.1574, allocations: 0 / 0.9644 GB, free: 12.52 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00146/0.1589, allocations: 375 kB / 0.9647 GB, free: 12.16 MB / 0.9323 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.0009058/0.1598, allocations: 374.4 kB / 0.9651 GB, free: 11.78 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001049/0.1608, allocations: 427.3 kB / 0.9655 GB, free: 11.36 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.1608, allocations: 0 / 0.9655 GB, free: 11.36 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003742/0.1612, allocations: 160 kB / 0.9656 GB, free: 11.2 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002399/0.1636, allocations: 0.4888 MB / 0.9661 GB, free: 10.72 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003364/0.167, allocations: 1.613 MB / 0.9677 GB, free: 9.047 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006402/0.1676, allocations: 478.5 kB / 0.9681 GB, free: 8.539 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0006231/0.1682, allocations: 170.6 kB / 0.9683 GB, free: 8.371 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/0.1684, allocations: 72.48 kB / 0.9684 GB, free: 8.301 MB / 0.9323 GB Notification: Performance of SimCode: time 1.432e-06/0.1684, allocations: 0 / 0.9684 GB, free: 8.301 MB / 0.9323 GB Notification: Performance of Templates: time 0.03897/0.2074, allocations: 19.18 MB / 0.9871 GB, free: 5.535 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.216836988111027]