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.001418/0.001418, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.00168/0.00168, allocations: 221.2 kB / 23 MB, free: 4.91 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.429/1.429, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.126/3.126, allocations: 0.4892 GB / 0.7951 GB, free: 35.63 MB / 0.6231 GB " [Timeout remaining time 177] 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.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: 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.002084/0.002084, allocations: 74.64 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3464, allocations: 176.1 MB / 1.326 GB, free: 1.82 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04351/0.39, allocations: 38.48 MB / 1.364 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01541/0.4054, allocations: 9.673 MB / 1.373 GB, free: 1.512 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002132/0.4075, allocations: 83.31 kB / 1.373 GB, free: 1.43 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002297/0.4098, allocations: 0.6327 MB / 1.374 GB, free: 0.793 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.005837/0.4156, allocations: 2.01 MB / 1.376 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003197/0.4188, allocations: 1.212 MB / 1.377 GB, free: 13.57 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004874/0.4237, allocations: 3.453 MB / 1.381 GB, free: 10.11 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001317/0.425, allocations: 0.799 MB / 1.381 GB, free: 9.289 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00369/0.4287, allocations: 1.476 MB / 1.383 GB, free: 7.812 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001526/0.4302, allocations: 0.8904 MB / 1.384 GB, free: 6.918 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001715/0.4304, allocations: 100 kB / 1.384 GB, free: 6.82 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001894/0.4323, allocations: 0.7057 MB / 1.384 GB, free: 6.113 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000327/0.4326, allocations: 294.8 kB / 1.385 GB, free: 5.824 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006743/0.4333, allocations: 0.5094 MB / 1.385 GB, free: 5.312 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003089/0.4364, allocations: 1.954 MB / 1.387 GB, free: 3.352 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.4364, allocations: 4 kB / 1.387 GB, free: 3.348 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4364, allocations: 0 / 1.387 GB, free: 3.348 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.821e-05/0.4364, allocations: 0 / 1.387 GB, free: 3.348 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.002715/0.4391, allocations: 1.481 MB / 1.389 GB, free: 1.828 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.4392, allocations: 12.03 kB / 1.389 GB, free: 1.816 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003848/0.4396, allocations: 144.1 kB / 1.389 GB, free: 1.676 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002226/0.4418, allocations: 1.063 MB / 1.39 GB, free: 0.5781 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.383e-05/0.4419, allocations: 50 kB / 1.39 GB, free: 0.5273 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.442, allocations: 79.89 kB / 1.39 GB, free: 460 kB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.4435, allocations: 0.9412 MB / 1.391 GB, free: 15.43 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.736e-05/0.4436, allocations: 3.938 kB / 1.391 GB, free: 15.43 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.937e-05/0.4436, allocations: 36 kB / 1.391 GB, free: 15.39 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.824e-05/0.4437, allocations: 20 kB / 1.391 GB, free: 15.38 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.4448, allocations: 0.5672 MB / 1.391 GB, free: 14.8 MB / 1.092 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.003969/0.4488, allocations: 2.601 MB / 1.394 GB, free: 12.13 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005946/0.4494, allocations: 247.4 kB / 1.394 GB, free: 11.88 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003519/0.4497, allocations: 168.7 kB / 1.394 GB, free: 11.71 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002419/0.45, allocations: 55.95 kB / 1.394 GB, free: 11.66 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.45, allocations: 38.56 kB / 1.394 GB, free: 11.61 MB / 1.092 GB Notification: Performance of pre-optimization done (n=31): time 2.464e-06/0.45, allocations: 0 / 1.394 GB, free: 11.61 MB / 1.092 GB Notification: Performance of matching and sorting (n=31): time 0.001215/0.4512, allocations: 0.5052 MB / 1.395 GB, free: 11.1 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.4513, allocations: 55.41 kB / 1.395 GB, free: 11.04 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.4523, allocations: 0.8139 MB / 1.396 GB, free: 10.21 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.006e-05/0.4524, allocations: 33.7 kB / 1.396 GB, free: 10.17 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004303/0.4528, allocations: 0.5155 MB / 1.396 GB, free: 9.648 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.4529, allocations: 111.1 kB / 1.396 GB, free: 9.539 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/0.4531, allocations: 122.2 kB / 1.397 GB, free: 9.41 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.4532, allocations: 333.9 kB / 1.397 GB, free: 9.078 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003663/0.4536, allocations: 165.1 kB / 1.397 GB, free: 8.918 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005997/0.4542, allocations: 0.4942 MB / 1.397 GB, free: 8.309 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008507/0.455, allocations: 0.5154 MB / 1.398 GB, free: 7.723 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.455, allocations: 7.938 kB / 1.398 GB, free: 7.715 MB / 1.092 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001157/0.4562, allocations: 0.614 MB / 1.399 GB, free: 7.094 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.4562, allocations: 4 kB / 1.399 GB, free: 7.09 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.4562, allocations: 8 kB / 1.399 GB, free: 7.082 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.4563, allocations: 8 kB / 1.399 GB, free: 7.074 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004435/0.4567, allocations: 119.8 kB / 1.399 GB, free: 6.957 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.627e-05/0.4567, allocations: 15.92 kB / 1.399 GB, free: 6.941 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005151/0.4572, allocations: 67.77 kB / 1.399 GB, free: 6.875 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.33e-05/0.4573, allocations: 35.98 kB / 1.399 GB, free: 6.84 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.0004086/0.4577, allocations: 269.6 kB / 1.399 GB, free: 6.566 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/0.4579, allocations: 91.44 kB / 1.399 GB, free: 6.477 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009719/0.4588, allocations: 482.7 kB / 1.4 GB, free: 5.996 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.4589, allocations: 4 kB / 1.4 GB, free: 5.992 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.4589, allocations: 4.062 kB / 1.4 GB, free: 5.988 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007454/0.4596, allocations: 461.4 kB / 1.4 GB, free: 5.508 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002096/0.4617, allocations: 1.163 MB / 1.401 GB, free: 4.293 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.4617, allocations: 7.938 kB / 1.401 GB, free: 4.285 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003322/0.462, allocations: 67.95 kB / 1.401 GB, free: 4.219 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.462, allocations: 4 kB / 1.401 GB, free: 4.215 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.611e-05/0.4621, allocations: 8 kB / 1.401 GB, free: 4.207 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.4621, allocations: 11.86 kB / 1.401 GB, free: 4.195 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.4621, allocations: 4 kB / 1.401 GB, free: 4.191 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/0.4634, allocations: 0.7705 MB / 1.402 GB, free: 3.391 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003373/0.4638, allocations: 143.2 kB / 1.402 GB, free: 3.25 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.379e-05/0.4639, allocations: 8 kB / 1.402 GB, free: 3.242 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004294/0.4643, allocations: 27.91 kB / 1.402 GB, free: 3.215 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.299e-05/0.4644, allocations: 23.95 kB / 1.402 GB, free: 3.191 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.132e-05/0.4644, allocations: 28.05 kB / 1.402 GB, free: 3.164 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0007504/0.4652, allocations: 0.5459 MB / 1.403 GB, free: 2.625 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4652, allocations: 4 kB / 1.403 GB, free: 2.621 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001041/0.4662, allocations: 359 kB / 1.403 GB, free: 2.27 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.0006698/0.4669, allocations: 362.5 kB / 1.404 GB, free: 1.906 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0009359/0.4678, allocations: 412.5 kB / 1.404 GB, free: 1.504 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.4678, allocations: 4 kB / 1.404 GB, free: 1.5 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003723/0.4682, allocations: 167.8 kB / 1.404 GB, free: 1.336 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002031/0.4702, allocations: 492.1 kB / 1.405 GB, free: 0.8711 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002735/0.4729, allocations: 1.629 MB / 1.406 GB, free: 15.18 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004931/0.4734, allocations: 452.6 kB / 1.407 GB, free: 14.71 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000192/0.4736, allocations: 71.42 kB / 1.407 GB, free: 14.64 MB / 1.107 GB Notification: Performance of SimCode: time 1.323e-06/0.4736, allocations: 3.938 kB / 1.407 GB, free: 14.64 MB / 1.107 GB Notification: Performance of Templates: time 0.03002/0.5036, allocations: 16.93 MB / 1.423 GB, free: 13.83 MB / 1.123 GB " [Timeout remaining time 299] 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/jenkins1/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: 14.341003210749477]