Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001454/0.001454, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001692/0.001692, allocations: 161.6 kB / 23.55 MB, free: 0.8906 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.515/1.515, allocations: 177.1 MB / 203.9 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.784/2.784, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0.5469 kB / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.502e-05/4.727e-05, allocations: 5.547 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.05769/0.05774, allocations: 38.13 MB / 0.8236 GB, free: 6.59 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.02005/0.07779, allocations: 9.678 MB / 0.8331 GB, free: 12.88 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002301/0.08009, allocations: 83.31 kB / 0.8331 GB, free: 12.8 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.002458/0.08255, allocations: 0.6519 MB / 0.8338 GB, free: 12.14 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.007207/0.08975, allocations: 2.059 MB / 0.8358 GB, free: 10.07 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.004059/0.09381, allocations: 1.247 MB / 0.837 GB, free: 8.824 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.006784/0.1006, allocations: 3.493 MB / 0.8404 GB, free: 5.32 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002108/0.1027, allocations: 0.8382 MB / 0.8412 GB, free: 4.465 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006514/0.1092, allocations: 1.732 MB / 0.8429 GB, free: 2.746 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002891/0.1121, allocations: 0.8021 MB / 0.8437 GB, free: 1.941 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0004755/0.1126, allocations: 100 kB / 0.8438 GB, free: 1.844 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003051/0.1156, allocations: 0.7246 MB / 0.8445 GB, free: 1.117 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0004769/0.1161, allocations: 298.8 kB / 0.8448 GB, free: 0.8242 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001157/0.1173, allocations: 442.9 kB / 0.8452 GB, free: 400 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.005229/0.1225, allocations: 1.963 MB / 0.8471 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.1225, allocations: 0 / 0.8471 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.154e-06/0.1225, allocations: 4 kB / 0.8471 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.977e-05/0.1226, allocations: 0 / 0.8471 GB, free: 14.42 MB / 0.8073 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.003231/0.1258, allocations: 1.469 MB / 0.8486 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.1258, allocations: 8.031 kB / 0.8486 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005317/0.1264, allocations: 219.9 kB / 0.8488 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002289/0.1287, allocations: 1.133 MB / 0.8499 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.361e-05/0.1287, allocations: 58.38 kB / 0.85 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.1289, allocations: 75.94 kB / 0.85 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001936/0.1308, allocations: 0.9372 MB / 0.8509 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.571e-05/0.1308, allocations: 4 kB / 0.8509 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.1309, allocations: 28 kB / 0.851 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.155e-05/0.131, allocations: 20 kB / 0.851 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001894/0.1329, allocations: 0.575 MB / 0.8516 GB, free: 9.75 MB / 0.8073 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006373/0.1393, allocations: 2.633 MB / 0.8541 GB, free: 7.035 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008861/0.1401, allocations: 246.3 kB / 0.8544 GB, free: 6.785 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005202/0.1407, allocations: 171.6 kB / 0.8545 GB, free: 6.617 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000346/0.141, allocations: 63.94 kB / 0.8546 GB, free: 6.555 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.738e-05/0.1411, allocations: 34.56 kB / 0.8546 GB, free: 6.512 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=31): time 5.109e-06/0.1411, allocations: 0 / 0.8546 GB, free: 6.512 MB / 0.8073 GB Notification: Performance of matching and sorting (n=31): time 0.001892/0.143, allocations: 0.5146 MB / 0.8551 GB, free: 5.992 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.464e-05/0.143, allocations: 55.41 kB / 0.8552 GB, free: 5.926 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001591/0.1446, allocations: 0.8257 MB / 0.856 GB, free: 5.094 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.741e-05/0.1447, allocations: 33.7 kB / 0.856 GB, free: 5.055 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006622/0.1453, allocations: 0.5078 MB / 0.8565 GB, free: 4.539 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/0.1455, allocations: 119 kB / 0.8566 GB, free: 4.422 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002889/0.1458, allocations: 118.2 kB / 0.8567 GB, free: 4.301 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002225/0.146, allocations: 326 kB / 0.857 GB, free: 3.977 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005266/0.1466, allocations: 161.2 kB / 0.8572 GB, free: 3.82 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009971/0.1476, allocations: 0.502 MB / 0.8577 GB, free: 3.207 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/0.1489, allocations: 0.5148 MB / 0.8582 GB, free: 2.621 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.1489, allocations: 4 kB / 0.8582 GB, free: 2.617 MB / 0.8073 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001914/0.1508, allocations: 0.6292 MB / 0.8588 GB, free: 1.98 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.068e-05/0.1508, allocations: 8 kB / 0.8588 GB, free: 1.973 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/0.1508, allocations: 8.688 kB / 0.8588 GB, free: 1.965 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.573e-05/0.1509, allocations: 8 kB / 0.8588 GB, free: 1.957 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006778/0.1516, allocations: 127.9 kB / 0.859 GB, free: 1.832 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.571e-05/0.1516, allocations: 11.94 kB / 0.859 GB, free: 1.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000879/0.1525, allocations: 63.64 kB / 0.859 GB, free: 1.758 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-05/0.1525, allocations: 27.98 kB / 0.8591 GB, free: 1.73 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * 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.0008179/0.1534, allocations: 273.6 kB / 0.8593 GB, free: 1.453 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002917/0.1537, allocations: 107.3 kB / 0.8594 GB, free: 1.348 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00145/0.1551, allocations: 482.9 kB / 0.8599 GB, free: 0.8711 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/0.1551, allocations: 4 kB / 0.8599 GB, free: 0.8672 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1551, allocations: 0 / 0.8599 GB, free: 0.8672 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001183/0.1563, allocations: 457.2 kB / 0.8603 GB, free: 400 kB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00311/0.1594, allocations: 1.162 MB / 0.8615 GB, free: 15.17 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/0.1594, allocations: 4 kB / 0.8615 GB, free: 15.17 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005108/0.1599, allocations: 75.94 kB / 0.8615 GB, free: 15.09 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.245e-05/0.1599, allocations: 8.141 kB / 0.8615 GB, free: 15.09 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.858e-05/0.16, allocations: 15.94 kB / 0.8616 GB, free: 15.07 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.249e-06/0.16, allocations: 0 / 0.8616 GB, free: 15.07 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.16, allocations: 4 kB / 0.8616 GB, free: 15.07 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002132/0.1621, allocations: 0.7746 MB / 0.8623 GB, free: 14.26 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004623/0.1626, allocations: 139.4 kB / 0.8624 GB, free: 14.12 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.1627, allocations: 11.98 kB / 0.8625 GB, free: 14.11 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006752/0.1634, allocations: 23.97 kB / 0.8625 GB, free: 14.09 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.1635, allocations: 31.89 kB / 0.8625 GB, free: 14.06 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-05/0.1636, allocations: 19.98 kB / 0.8625 GB, free: 14.04 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001457/0.165, allocations: 0.5498 MB / 0.8631 GB, free: 13.49 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.165, allocations: 0 / 0.8631 GB, free: 13.49 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001564/0.1666, allocations: 359.1 kB / 0.8634 GB, free: 13.14 MB / 0.823 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.001027/0.1676, allocations: 385.3 kB / 0.8638 GB, free: 12.76 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001461/0.1691, allocations: 407.4 kB / 0.8642 GB, free: 12.36 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.1691, allocations: 1.375 kB / 0.8642 GB, free: 12.36 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006237/0.1697, allocations: 180.1 kB / 0.8643 GB, free: 12.19 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00339/0.1731, allocations: 0.5001 MB / 0.8648 GB, free: 11.7 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004221/0.1773, allocations: 1.563 MB / 0.8664 GB, free: 10.08 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008452/0.1782, allocations: 456.9 kB / 0.8668 GB, free: 9.598 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0009836/0.1792, allocations: 174.6 kB / 0.867 GB, free: 9.426 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002785/0.1794, allocations: 76.48 kB / 0.867 GB, free: 9.352 MB / 0.823 GB Notification: Performance of SimCode: time 1.263e-06/0.1794, allocations: 0 / 0.867 GB, free: 9.352 MB / 0.823 GB Notification: Performance of Templates: time 0.04582/0.2253, allocations: 18.74 MB / 0.8853 GB, free: 7.031 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.63944697601255]