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.001276/0.001276, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001467/0.001467, allocations: 213.5 kB / 22.99 MB, free: 4.945 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.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 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.222/3.222, allocations: 0.5107 GB / 0.8166 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: 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.002068/0.002068, allocations: 71.88 kB / 1.187 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3659, allocations: 181.9 MB / 1.365 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04877/0.4146, allocations: 38.5 MB / 1.402 GB, free: 6.934 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01611/0.4307, allocations: 9.654 MB / 1.412 GB, free: 13.26 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002068/0.4328, allocations: 79.31 kB / 1.412 GB, free: 13.18 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002014/0.4348, allocations: 0.6405 MB / 1.412 GB, free: 12.54 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.006138/0.441, allocations: 2.013 MB / 1.414 GB, free: 10.52 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003245/0.4442, allocations: 1.2 MB / 1.415 GB, free: 9.324 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.005017/0.4492, allocations: 3.46 MB / 1.419 GB, free: 5.855 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001362/0.4506, allocations: 0.8106 MB / 1.42 GB, free: 5.023 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003882/0.4545, allocations: 1.468 MB / 1.421 GB, free: 3.555 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001567/0.456, allocations: 0.8864 MB / 1.422 GB, free: 2.664 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001842/0.4562, allocations: 100 kB / 1.422 GB, free: 2.566 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00183/0.458, allocations: 0.7135 MB / 1.423 GB, free: 1.852 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003217/0.4584, allocations: 294.8 kB / 1.423 GB, free: 1.562 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0006286/0.459, allocations: 0.5132 MB / 1.424 GB, free: 1.047 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002756/0.4618, allocations: 1.95 MB / 1.425 GB, free: 15.09 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.4618, allocations: 0 / 1.425 GB, free: 15.09 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4618, allocations: 4 kB / 1.425 GB, free: 15.09 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.601e-05/0.4618, allocations: 0 / 1.425 GB, free: 15.09 MB / 1.123 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.002603/0.4644, allocations: 1.481 MB / 1.427 GB, free: 13.57 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.4644, allocations: 12.03 kB / 1.427 GB, free: 13.55 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003548/0.4648, allocations: 140.1 kB / 1.427 GB, free: 13.42 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001987/0.4668, allocations: 1.075 MB / 1.428 GB, free: 12.31 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.924e-05/0.4668, allocations: 50 kB / 1.428 GB, free: 12.26 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.4669, allocations: 72 kB / 1.428 GB, free: 12.19 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.4684, allocations: 0.9411 MB / 1.429 GB, free: 11.18 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.762e-05/0.4685, allocations: 4 kB / 1.429 GB, free: 11.17 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.658e-05/0.4685, allocations: 28 kB / 1.429 GB, free: 11.14 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.205e-05/0.4686, allocations: 20 kB / 1.429 GB, free: 11.12 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.4697, allocations: 0.5711 MB / 1.43 GB, free: 10.55 MB / 1.123 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.00379/0.4735, allocations: 2.605 MB / 1.432 GB, free: 7.871 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006045/0.4741, allocations: 243.7 kB / 1.432 GB, free: 7.625 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003421/0.4744, allocations: 164.8 kB / 1.433 GB, free: 7.461 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002539/0.4747, allocations: 59.95 kB / 1.433 GB, free: 7.402 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.4747, allocations: 38.56 kB / 1.433 GB, free: 7.355 MB / 1.123 GB Notification: Performance of pre-optimization done (n=31): time 2.054e-06/0.4747, allocations: 0 / 1.433 GB, free: 7.355 MB / 1.123 GB Notification: Performance of matching and sorting (n=31): time 0.001209/0.4759, allocations: 0.5018 MB / 1.433 GB, free: 6.848 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.476, allocations: 55.41 kB / 1.433 GB, free: 6.781 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/0.477, allocations: 0.8256 MB / 1.434 GB, free: 5.945 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.279e-05/0.4771, allocations: 33.7 kB / 1.434 GB, free: 5.906 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004306/0.4775, allocations: 0.5077 MB / 1.435 GB, free: 5.395 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.4776, allocations: 119 kB / 1.435 GB, free: 5.277 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/0.4778, allocations: 114.2 kB / 1.435 GB, free: 5.156 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.4779, allocations: 333.9 kB / 1.435 GB, free: 4.824 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003562/0.4783, allocations: 161.2 kB / 1.435 GB, free: 4.668 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006187/0.4789, allocations: 0.503 MB / 1.436 GB, free: 4.051 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008825/0.4798, allocations: 0.5154 MB / 1.436 GB, free: 3.465 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.4798, allocations: 7.938 kB / 1.436 GB, free: 3.457 MB / 1.123 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001162/0.481, allocations: 0.5983 MB / 1.437 GB, free: 2.852 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.481, allocations: 11.94 kB / 1.437 GB, free: 2.84 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.481, allocations: 8.062 kB / 1.437 GB, free: 2.832 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.822e-05/0.481, allocations: 8 kB / 1.437 GB, free: 2.824 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004609/0.4815, allocations: 128.3 kB / 1.437 GB, free: 2.699 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.701e-05/0.4815, allocations: 11.94 kB / 1.437 GB, free: 2.688 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005186/0.482, allocations: 75.53 kB / 1.437 GB, free: 2.613 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.617e-05/0.4821, allocations: 24 kB / 1.437 GB, free: 2.59 MB / 1.123 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.0003873/0.4825, allocations: 274.7 kB / 1.437 GB, free: 2.312 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/0.4826, allocations: 91.44 kB / 1.437 GB, free: 2.223 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009939/0.4836, allocations: 483.1 kB / 1.438 GB, free: 1.738 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.4836, allocations: 4 kB / 1.438 GB, free: 1.734 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4836, allocations: 0 / 1.438 GB, free: 1.734 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000783/0.4844, allocations: 457.5 kB / 1.438 GB, free: 1.258 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002052/0.4865, allocations: 1.166 MB / 1.44 GB, free: 40 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.4865, allocations: 0 / 1.44 GB, free: 40 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003491/0.4868, allocations: 71.89 kB / 1.44 GB, free: 15.97 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.685e-06/0.4868, allocations: 4 kB / 1.44 GB, free: 15.96 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.002e-05/0.4868, allocations: 11.98 kB / 1.44 GB, free: 15.95 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.224e-06/0.4869, allocations: 12.09 kB / 1.44 GB, free: 15.94 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.4869, allocations: 3.984 kB / 1.44 GB, free: 15.94 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/0.4882, allocations: 0.7628 MB / 1.44 GB, free: 15.14 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003209/0.4885, allocations: 135.3 kB / 1.441 GB, free: 15.01 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.467e-05/0.4886, allocations: 8 kB / 1.441 GB, free: 15 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004402/0.4891, allocations: 31.97 kB / 1.441 GB, free: 14.97 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.007e-05/0.4892, allocations: 31.94 kB / 1.441 GB, free: 14.94 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.433e-05/0.4892, allocations: 19.98 kB / 1.441 GB, free: 14.92 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0007458/0.49, allocations: 0.5498 MB / 1.441 GB, free: 14.38 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/0.49, allocations: 0 / 1.441 GB, free: 14.38 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001018/0.491, allocations: 363 kB / 1.441 GB, free: 14.02 MB / 1.139 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.0006325/0.4916, allocations: 369.1 kB / 1.442 GB, free: 13.65 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.000928/0.4925, allocations: 408.2 kB / 1.442 GB, free: 13.25 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4925, allocations: 0 / 1.442 GB, free: 13.25 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003847/0.4929, allocations: 177.5 kB / 1.442 GB, free: 13.08 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002065/0.495, allocations: 493.3 kB / 1.443 GB, free: 12.61 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002665/0.4976, allocations: 1.631 MB / 1.444 GB, free: 10.93 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004908/0.4981, allocations: 448.6 kB / 1.445 GB, free: 10.46 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/0.4983, allocations: 75.42 kB / 1.445 GB, free: 10.38 MB / 1.139 GB Notification: Performance of SimCode: time 8.42e-07/0.4983, allocations: 0 / 1.445 GB, free: 10.38 MB / 1.139 GB Notification: Performance of Templates: time 0.02782/0.5262, allocations: 16.92 MB / 1.461 GB, free: 9.574 MB / 1.154 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.csv","/var/lib/jenkins1/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: 14.601570887956768]