Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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.00177/0.00177, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002205/0.002205, allocations: 206.4 kB / 22.24 MB, free: 5.262 MB / 14.72 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.206/3.206, allocations: 0.4892 GB / 0.7943 GB, free: 35.71 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eigPor.Q1_flow|eigPor.Q2_flow|eigPor.Q3_flow|eigPor.Q4_flow|eigPor.vol1.T|eigPor.vol2.T|eigPor.vol3.T|eigPor.vol4.T|sou1.T|sou2.T_in|sou3.T|sou4.T_in|sin.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eigPor.Q1_flow|eigPor.Q2_flow|eigPor.Q3_flow|eigPor.Q4_flow|eigPor.vol1.T|eigPor.vol2.T|eigPor.vol3.T|eigPor.vol4.T|sou1.T|sou2.T_in|sou3.T|sou4.T_in|sin.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 68.11 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4045, allocations: 176.1 MB / 1.326 GB, free: 1.824 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08684/0.4913, allocations: 71.13 MB / 1.395 GB, free: 10.44 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.03182/0.5231, allocations: 17.58 MB / 1.412 GB, free: 8.828 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00428/0.5274, allocations: 154.7 kB / 1.412 GB, free: 8.676 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.004172/0.5316, allocations: 1.242 MB / 1.414 GB, free: 7.426 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01205/0.5436, allocations: 3.879 MB / 1.417 GB, free: 3.531 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.006241/0.5499, allocations: 2.146 MB / 1.419 GB, free: 1.402 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01043/0.5603, allocations: 6.803 MB / 1.426 GB, free: 10.58 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003209/0.5635, allocations: 1.576 MB / 1.428 GB, free: 8.953 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006928/0.5704, allocations: 2.744 MB / 1.43 GB, free: 6.211 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003601/0.574, allocations: 1.761 MB / 1.432 GB, free: 4.441 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.000726/0.5747, allocations: 200 kB / 1.432 GB, free: 4.246 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004142/0.5789, allocations: 1.333 MB / 1.433 GB, free: 2.91 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0009779/0.5799, allocations: 0.5601 MB / 1.434 GB, free: 2.348 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.00224/0.5821, allocations: 1.011 MB / 1.435 GB, free: 1.332 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.00627/0.5884, allocations: 3.803 MB / 1.439 GB, free: 13.51 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.5884, allocations: 0 / 1.439 GB, free: 13.51 MB / 1.139 GB Notification: Performance of FrontEnd: time 9.92e-07/0.5884, allocations: 0 / 1.439 GB, free: 13.51 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.902e-05/0.5884, allocations: 0 / 1.439 GB, free: 13.51 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004792/0.5932, allocations: 2.719 MB / 1.441 GB, free: 10.74 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.5933, allocations: 8.031 kB / 1.441 GB, free: 10.73 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007348/0.594, allocations: 283.3 kB / 1.442 GB, free: 10.46 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003791/0.5978, allocations: 1.976 MB / 1.444 GB, free: 8.438 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.981e-05/0.5979, allocations: 106.7 kB / 1.444 GB, free: 8.332 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002156/0.5981, allocations: 140 kB / 1.444 GB, free: 8.195 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003294/0.6014, allocations: 1.829 MB / 1.446 GB, free: 6.215 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.94e-05/0.6014, allocations: 3.938 kB / 1.446 GB, free: 6.211 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/0.6016, allocations: 56 kB / 1.446 GB, free: 6.156 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-05/0.6016, allocations: 40 kB / 1.446 GB, free: 6.117 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002508/0.6041, allocations: 1.122 MB / 1.447 GB, free: 4.988 MB / 1.139 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.008152/0.6123, allocations: 5.101 MB / 1.452 GB, free: 15.74 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.6133, allocations: 433 kB / 1.452 GB, free: 15.31 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006578/0.614, allocations: 314.2 kB / 1.453 GB, free: 15 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003985/0.6144, allocations: 108.5 kB / 1.453 GB, free: 14.9 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.6144, allocations: 51 kB / 1.453 GB, free: 14.84 MB / 1.154 GB Notification: Performance of pre-optimization done (n=59): time 2.675e-06/0.6144, allocations: 3.938 kB / 1.453 GB, free: 14.84 MB / 1.154 GB Notification: Performance of matching and sorting (n=59): time 0.002357/0.6168, allocations: 0.9449 MB / 1.454 GB, free: 13.88 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.6168, allocations: 59.91 kB / 1.454 GB, free: 13.81 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002254/0.6191, allocations: 1.547 MB / 1.455 GB, free: 12.27 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001454/0.6192, allocations: 41.7 kB / 1.455 GB, free: 12.22 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009659/0.6202, allocations: 0.9668 MB / 1.456 GB, free: 11.25 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002626/0.6204, allocations: 230.1 kB / 1.456 GB, free: 11.02 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003321/0.6208, allocations: 226.8 kB / 1.457 GB, free: 10.79 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.621, allocations: 341.9 kB / 1.457 GB, free: 10.45 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000777/0.6217, allocations: 330.4 kB / 1.457 GB, free: 10.13 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/0.6231, allocations: 0.9738 MB / 1.458 GB, free: 8.934 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001852/0.6249, allocations: 1.013 MB / 1.459 GB, free: 7.785 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/0.6249, allocations: 4 kB / 1.459 GB, free: 7.781 MB / 1.154 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002622/0.6275, allocations: 1.196 MB / 1.46 GB, free: 6.578 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.6276, allocations: 15.97 kB / 1.46 GB, free: 6.562 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/0.6276, allocations: 12 kB / 1.46 GB, free: 6.551 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.689e-05/0.6276, allocations: 16 kB / 1.46 GB, free: 6.535 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.6287, allocations: 287.6 kB / 1.461 GB, free: 6.254 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.734e-05/0.6287, allocations: 23.92 kB / 1.461 GB, free: 6.23 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/0.6299, allocations: 139.2 kB / 1.461 GB, free: 6.094 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/0.63, allocations: 55.94 kB / 1.461 GB, free: 6.039 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (135): * Single equations (assignments): 135 * 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.0008414/0.6309, allocations: 441.3 kB / 1.461 GB, free: 5.598 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003348/0.6312, allocations: 178.9 kB / 1.461 GB, free: 5.422 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001913/0.6331, allocations: 0.8641 MB / 1.462 GB, free: 4.551 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/0.6331, allocations: 4 kB / 1.462 GB, free: 4.547 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.6331, allocations: 0 / 1.462 GB, free: 4.547 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001528/0.6347, allocations: 0.8057 MB / 1.463 GB, free: 3.691 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0042/0.6389, allocations: 2.08 MB / 1.465 GB, free: 1.551 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.6389, allocations: 0 / 1.465 GB, free: 1.551 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008294/0.6397, allocations: 184 kB / 1.465 GB, free: 1.371 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/0.6397, allocations: 4 kB / 1.465 GB, free: 1.367 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.47e-05/0.6397, allocations: 19.94 kB / 1.465 GB, free: 1.348 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.057e-05/0.6398, allocations: 11.92 kB / 1.465 GB, free: 1.336 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.6398, allocations: 0 / 1.465 GB, free: 1.336 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002667/0.6424, allocations: 1.325 MB / 1.467 GB, free: 15.97 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007141/0.6431, allocations: 262.7 kB / 1.467 GB, free: 15.71 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001892/0.6433, allocations: 19.92 kB / 1.467 GB, free: 15.69 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000884/0.6442, allocations: 63.86 kB / 1.467 GB, free: 15.63 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.6443, allocations: 52.41 kB / 1.467 GB, free: 15.57 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.565e-05/0.6444, allocations: 35.97 kB / 1.467 GB, free: 15.54 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001579/0.646, allocations: 1.017 MB / 1.468 GB, free: 14.53 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.1e-07/0.646, allocations: 4 kB / 1.468 GB, free: 14.53 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001877/0.6479, allocations: 0.6935 MB / 1.469 GB, free: 13.83 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.001018/0.6489, allocations: 0.5949 MB / 1.469 GB, free: 13.23 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001822/0.6507, allocations: 0.7848 MB / 1.47 GB, free: 12.46 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.6507, allocations: 0.625 kB / 1.47 GB, free: 12.46 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0007642/0.6515, allocations: 338.6 kB / 1.47 GB, free: 12.12 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004106/0.6556, allocations: 0.9085 MB / 1.471 GB, free: 11.23 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005034/0.6606, allocations: 3.078 MB / 1.474 GB, free: 8.094 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009562/0.6616, allocations: 0.8346 MB / 1.475 GB, free: 7.223 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.00123/0.6628, allocations: 334.7 kB / 1.475 GB, free: 6.898 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003031/0.6631, allocations: 131.4 kB / 1.476 GB, free: 6.77 MB / 1.17 GB Notification: Performance of SimCode: time 1.002e-06/0.6631, allocations: 0 / 1.476 GB, free: 6.77 MB / 1.17 GB Notification: Performance of Templates: time 0.07073/0.7338, allocations: 39.53 MB / 1.514 GB, free: 20 kB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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: 10.666324071586132]