Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001499/0.001499, allocations: 84.39 kB / 20.23 MB, free: 4.32 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.001816/0.001816, allocations: 165.6 kB / 23.54 MB, free: 1.012 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.468/1.468, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.924/2.924, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.8108 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.657e-05/2.841e-05, allocations: 2.312 kB / 0.8108 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.05368/0.05371, allocations: 38.18 MB / 0.8481 GB, free: 10.7 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01825/0.07196, allocations: 9.682 MB / 0.8576 GB, free: 0.9883 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001915/0.07388, allocations: 83.31 kB / 0.8576 GB, free: 0.9062 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.002188/0.07606, allocations: 0.6402 MB / 0.8583 GB, free: 268 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.006455/0.08252, allocations: 2.067 MB / 0.8603 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.003652/0.08617, allocations: 1.255 MB / 0.8615 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.00566/0.09183, allocations: 3.497 MB / 0.8649 GB, free: 9.422 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001914/0.09374, allocations: 0.8266 MB / 0.8657 GB, free: 8.574 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005171/0.09892, allocations: 1.91 MB / 0.8676 GB, free: 6.676 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001759/0.1007, allocations: 0.7943 MB / 0.8684 GB, free: 5.879 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0003166/0.101, allocations: 100 kB / 0.8685 GB, free: 5.781 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002156/0.1031, allocations: 0.7208 MB / 0.8692 GB, free: 5.059 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0004739/0.1036, allocations: 306.7 kB / 0.8695 GB, free: 4.758 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0009845/0.1046, allocations: 431 kB / 0.8699 GB, free: 4.336 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.003822/0.1084, allocations: 1.971 MB / 0.8718 GB, free: 2.359 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1084, allocations: 0 / 0.8718 GB, free: 2.359 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.143e-06/0.1084, allocations: 0 / 0.8718 GB, free: 2.359 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.403e-05/0.1085, allocations: 0 / 0.8718 GB, free: 2.359 MB / 0.7761 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.003509/0.112, allocations: 1.473 MB / 0.8732 GB, free: 0.8477 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.112, allocations: 8.031 kB / 0.8732 GB, free: 0.8398 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000682/0.1127, allocations: 215.9 kB / 0.8734 GB, free: 0.6289 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002465/0.1152, allocations: 1.137 MB / 0.8746 GB, free: 15.46 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.475e-05/0.1152, allocations: 54.36 kB / 0.8746 GB, free: 15.4 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001558/0.1154, allocations: 79.94 kB / 0.8747 GB, free: 15.32 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001792/0.1172, allocations: 0.9411 MB / 0.8756 GB, free: 14.31 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/0.1172, allocations: 0 / 0.8756 GB, free: 14.31 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.262e-05/0.1173, allocations: 36 kB / 0.8756 GB, free: 14.28 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-05/0.1173, allocations: 20 kB / 0.8757 GB, free: 14.26 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/0.1187, allocations: 0.5672 MB / 0.8762 GB, free: 13.69 MB / 0.7917 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.00461/0.1233, allocations: 2.644 MB / 0.8788 GB, free: 10.97 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007469/0.124, allocations: 253 kB / 0.879 GB, free: 10.71 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004221/0.1245, allocations: 158.6 kB / 0.8792 GB, free: 10.56 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002993/0.1248, allocations: 67.89 kB / 0.8792 GB, free: 10.49 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.351e-05/0.1248, allocations: 34.56 kB / 0.8793 GB, free: 10.45 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=31): time 2.454e-06/0.1248, allocations: 4 kB / 0.8793 GB, free: 10.45 MB / 0.7917 GB Notification: Performance of matching and sorting (n=31): time 0.001414/0.1262, allocations: 0.5169 MB / 0.8798 GB, free: 9.922 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.1263, allocations: 59.41 kB / 0.8798 GB, free: 9.852 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/0.1276, allocations: 0.814 MB / 0.8806 GB, free: 9.027 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 5.815e-05/0.1276, allocations: 33.7 kB / 0.8807 GB, free: 8.988 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005234/0.1281, allocations: 0.5117 MB / 0.8812 GB, free: 8.473 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.1283, allocations: 119 kB / 0.8813 GB, free: 8.355 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001969/0.1285, allocations: 118.2 kB / 0.8814 GB, free: 8.234 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001823/0.1287, allocations: 326 kB / 0.8817 GB, free: 7.91 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004227/0.1291, allocations: 165.2 kB / 0.8819 GB, free: 7.746 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000718/0.1298, allocations: 0.4942 MB / 0.8824 GB, free: 7.145 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.1308, allocations: 0.5155 MB / 0.8829 GB, free: 6.559 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.1308, allocations: 0 / 0.8829 GB, free: 6.559 MB / 0.7917 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001401/0.1322, allocations: 0.6412 MB / 0.8835 GB, free: 5.91 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.1322, allocations: 8 kB / 0.8835 GB, free: 5.902 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.1323, allocations: 4 kB / 0.8835 GB, free: 5.898 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.868e-05/0.1323, allocations: 8 kB / 0.8835 GB, free: 5.891 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004967/0.1328, allocations: 127.8 kB / 0.8836 GB, free: 5.766 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.177e-05/0.1328, allocations: 11.94 kB / 0.8836 GB, free: 5.754 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005789/0.1334, allocations: 63.95 kB / 0.8837 GB, free: 5.691 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.436e-05/0.1334, allocations: 32 kB / 0.8837 GB, free: 5.66 MB / 0.7917 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.0004385/0.1339, allocations: 269.6 kB / 0.884 GB, free: 5.387 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002242/0.1341, allocations: 111.3 kB / 0.8841 GB, free: 5.277 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/0.1352, allocations: 476.3 kB / 0.8845 GB, free: 4.801 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.1353, allocations: 8 kB / 0.8845 GB, free: 4.793 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1353, allocations: 0 / 0.8845 GB, free: 4.793 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009674/0.1362, allocations: 457.2 kB / 0.885 GB, free: 4.316 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002318/0.1385, allocations: 1.166 MB / 0.8861 GB, free: 3.098 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.1385, allocations: 0 / 0.8861 GB, free: 3.098 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00037/0.1389, allocations: 71.89 kB / 0.8862 GB, free: 3.027 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.1389, allocations: 4 kB / 0.8862 GB, free: 3.023 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.548e-05/0.139, allocations: 15.98 kB / 0.8862 GB, free: 3.008 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.139, allocations: 4 kB / 0.8862 GB, free: 3.004 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.139, allocations: 3.938 kB / 0.8862 GB, free: 3 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/0.1405, allocations: 0.772 MB / 0.887 GB, free: 2.199 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003429/0.1409, allocations: 143.3 kB / 0.8871 GB, free: 2.059 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.141, allocations: 8 kB / 0.8871 GB, free: 2.051 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000497/0.1415, allocations: 35.91 kB / 0.8872 GB, free: 2.016 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.621e-05/0.1416, allocations: 31.95 kB / 0.8872 GB, free: 1.984 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-05/0.1416, allocations: 20.05 kB / 0.8872 GB, free: 1.965 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0008504/0.1425, allocations: 0.5576 MB / 0.8877 GB, free: 1.414 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8e-08/0.1425, allocations: 0 / 0.8877 GB, free: 1.414 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001208/0.1437, allocations: 359 kB / 0.8881 GB, free: 1.062 MB / 0.7917 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.0008087/0.1445, allocations: 378.4 kB / 0.8884 GB, free: 0.6836 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001046/0.1455, allocations: 404.9 kB / 0.8888 GB, free: 296 kB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.1455, allocations: 0 / 0.8888 GB, free: 296 kB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0004459/0.146, allocations: 183.7 kB / 0.889 GB, free: 112 kB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002364/0.1483, allocations: 0.4891 MB / 0.8895 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002982/0.1513, allocations: 1.574 MB / 0.891 GB, free: 14 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005905/0.1519, allocations: 453 kB / 0.8915 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0006432/0.1526, allocations: 171.2 kB / 0.8916 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002842/0.1528, allocations: 72.48 kB / 0.8917 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of SimCode: time 7.42e-07/0.1528, allocations: 4 kB / 0.8917 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of Templates: time 0.03661/0.1894, allocations: 18.74 MB / 0.91 GB, free: 10.97 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.640688644954935]