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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 190.5 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.942/2.942, allocations: 0.4893 GB / 0.7884 GB, free: 33.23 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001868/0.001868, allocations: 62.58 kB / 1.145 GB, free: 30.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3342, allocations: 174.9 MB / 1.316 GB, free: 9.676 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.0443/0.3785, allocations: 42.34 MB / 1.357 GB, free: 15.18 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01535/0.3939, allocations: 10.47 MB / 1.368 GB, free: 4.688 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002056/0.3959, allocations: 79.31 kB / 1.368 GB, free: 4.609 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001996/0.3979, allocations: 0.6677 MB / 1.368 GB, free: 3.938 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.005809/0.4037, allocations: 2.017 MB / 1.37 GB, free: 1.914 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003342/0.4071, allocations: 1.242 MB / 1.372 GB, free: 0.6797 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.005529/0.4126, allocations: 3.487 MB / 1.375 GB, free: 13.18 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001409/0.414, allocations: 0.8185 MB / 1.376 GB, free: 12.35 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003739/0.4178, allocations: 1.436 MB / 1.377 GB, free: 10.91 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001679/0.4194, allocations: 0.9217 MB / 1.378 GB, free: 9.984 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001753/0.4196, allocations: 100 kB / 1.378 GB, free: 9.887 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002108/0.4217, allocations: 0.8968 MB / 1.379 GB, free: 8.988 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003402/0.4221, allocations: 294.8 kB / 1.379 GB, free: 8.699 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0007634/0.4228, allocations: 0.6376 MB / 1.38 GB, free: 8.059 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002962/0.4258, allocations: 1.935 MB / 1.382 GB, free: 6.117 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.4258, allocations: 4 kB / 1.382 GB, free: 6.113 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.924e-06/0.4258, allocations: 0 / 1.382 GB, free: 6.113 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.482e-05/0.4258, allocations: 0 / 1.382 GB, free: 6.113 MB / 1.076 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.002411/0.4282, allocations: 1.477 MB / 1.383 GB, free: 4.598 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.4283, allocations: 8.031 kB / 1.383 GB, free: 4.59 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00034/0.4286, allocations: 148.1 kB / 1.383 GB, free: 4.445 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001728/0.4303, allocations: 1.04 MB / 1.384 GB, free: 3.371 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.299e-05/0.4304, allocations: 61.98 kB / 1.384 GB, free: 3.309 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.4305, allocations: 76 kB / 1.385 GB, free: 3.234 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.4318, allocations: 0.7865 MB / 1.385 GB, free: 2.414 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.002e-05/0.4318, allocations: 7.938 kB / 1.385 GB, free: 2.406 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.746e-05/0.4319, allocations: 28 kB / 1.385 GB, free: 2.379 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.455e-05/0.4319, allocations: 20 kB / 1.385 GB, free: 2.359 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.433, allocations: 0.5711 MB / 1.386 GB, free: 1.785 MB / 1.076 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.004292/0.4373, allocations: 3.646 MB / 1.389 GB, free: 13.89 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000581/0.4379, allocations: 251.7 kB / 1.39 GB, free: 13.63 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003251/0.4382, allocations: 160.8 kB / 1.39 GB, free: 13.47 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002436/0.4385, allocations: 67.88 kB / 1.39 GB, free: 13.41 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.4385, allocations: 38.56 kB / 1.39 GB, free: 13.36 MB / 1.092 GB Notification: Performance of pre-optimization done (n=31): time 1.784e-06/0.4385, allocations: 0 / 1.39 GB, free: 13.36 MB / 1.092 GB Notification: Performance of matching and sorting (n=31): time 0.001164/0.4397, allocations: 0.5169 MB / 1.39 GB, free: 12.84 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.015e-05/0.4397, allocations: 55.41 kB / 1.391 GB, free: 12.77 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/0.4409, allocations: 0.9495 MB / 1.391 GB, free: 11.8 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.109e-05/0.4409, allocations: 33.7 kB / 1.391 GB, free: 11.76 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004172/0.4414, allocations: 0.5042 MB / 1.392 GB, free: 11.25 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.4415, allocations: 115 kB / 1.392 GB, free: 11.14 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.4416, allocations: 122.2 kB / 1.392 GB, free: 11.01 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.4418, allocations: 329.9 kB / 1.393 GB, free: 10.68 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003357/0.4421, allocations: 161.2 kB / 1.393 GB, free: 10.52 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005055/0.4426, allocations: 355.8 kB / 1.393 GB, free: 10.1 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000831/0.4434, allocations: 0.5116 MB / 1.393 GB, free: 9.516 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.4435, allocations: 4 kB / 1.394 GB, free: 9.512 MB / 1.092 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001135/0.4446, allocations: 0.6216 MB / 1.394 GB, free: 8.883 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.4446, allocations: 8 kB / 1.394 GB, free: 8.875 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.4446, allocations: 8 kB / 1.394 GB, free: 8.867 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/0.4446, allocations: 8 kB / 1.394 GB, free: 8.859 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004223/0.4451, allocations: 119.8 kB / 1.394 GB, free: 8.742 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.861e-05/0.4451, allocations: 11.94 kB / 1.394 GB, free: 8.73 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005524/0.4456, allocations: 91.8 kB / 1.394 GB, free: 8.641 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-05/0.4457, allocations: 24 kB / 1.394 GB, free: 8.617 MB / 1.092 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.0003746/0.4461, allocations: 278.2 kB / 1.395 GB, free: 8.336 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/0.4462, allocations: 103.3 kB / 1.395 GB, free: 8.234 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009696/0.4472, allocations: 494.1 kB / 1.395 GB, free: 7.746 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/0.4472, allocations: 11.92 kB / 1.395 GB, free: 7.734 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.4472, allocations: 0 / 1.395 GB, free: 7.734 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007313/0.4479, allocations: 457.7 kB / 1.396 GB, free: 7.258 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0021/0.45, allocations: 1.339 MB / 1.397 GB, free: 5.852 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.45, allocations: 3.984 kB / 1.397 GB, free: 5.848 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003221/0.4504, allocations: 76.05 kB / 1.397 GB, free: 5.773 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-06/0.4504, allocations: 11.94 kB / 1.397 GB, free: 5.762 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/0.4504, allocations: 8 kB / 1.397 GB, free: 5.754 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/0.4504, allocations: 7.938 kB / 1.397 GB, free: 5.746 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4504, allocations: 0 / 1.397 GB, free: 5.746 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.4517, allocations: 0.7685 MB / 1.398 GB, free: 4.949 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003092/0.452, allocations: 163.1 kB / 1.398 GB, free: 4.789 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.4521, allocations: 4 kB / 1.398 GB, free: 4.785 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004631/0.4526, allocations: 43.94 kB / 1.398 GB, free: 4.742 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.007e-05/0.4526, allocations: 23.95 kB / 1.398 GB, free: 4.719 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.991e-05/0.4527, allocations: 23.98 kB / 1.398 GB, free: 4.695 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0008638/0.4535, allocations: 0.6628 MB / 1.399 GB, free: 4.023 MB / 1.092 GB Notification: Performance of sort global known variables: time 8e-08/0.4535, allocations: 0 / 1.399 GB, free: 4.023 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0009381/0.4545, allocations: 339.3 kB / 1.399 GB, free: 3.691 MB / 1.092 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.0007267/0.4552, allocations: 401.5 kB / 1.399 GB, free: 3.301 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0008614/0.4561, allocations: 412.9 kB / 1.4 GB, free: 2.898 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4561, allocations: 0 / 1.4 GB, free: 2.898 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003478/0.4564, allocations: 175.8 kB / 1.4 GB, free: 2.727 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002216/0.4586, allocations: 0.6201 MB / 1.401 GB, free: 2.121 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002507/0.4611, allocations: 1.628 MB / 1.402 GB, free: 452 kB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006618/0.4618, allocations: 1.032 MB / 1.403 GB, free: 15.38 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0006111/0.4624, allocations: 195.4 kB / 1.403 GB, free: 15.19 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.4626, allocations: 83.41 kB / 1.403 GB, free: 15.11 MB / 1.107 GB Notification: Performance of SimCode: time 6.61e-07/0.4626, allocations: 0 / 1.403 GB, free: 15.11 MB / 1.107 GB Notification: Performance of Templates: time 0.03784/0.5004, allocations: 21.81 MB / 1.425 GB, free: 9.547 MB / 1.123 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/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: 8.956895378418267]