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.001566/0.001566, allocations: 112.4 kB / 17.13 MB, free: 6.008 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.001638/0.001638, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.452/1.452, allocations: 230.6 MB / 253.5 MB, free: 15.08 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 2.829/2.829, allocations: 0.49 GB / 0.7923 GB, free: 1.312 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.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.002023/0.002023, allocations: 67.91 kB / 1.15 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01/1.012, allocations: 176.1 MB / 1.322 GB, free: 25.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03869/1.05, allocations: 42.15 MB / 1.363 GB, free: 10.88 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01855/1.069, allocations: 10.43 MB / 1.373 GB, free: 3.406 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003188/1.072, allocations: 84.72 kB / 1.373 GB, free: 3.359 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002397/1.074, allocations: 0.6677 MB / 1.374 GB, free: 2.961 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007033/1.082, allocations: 1.982 MB / 1.376 GB, free: 1.789 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003824/1.085, allocations: 1.188 MB / 1.377 GB, free: 1.133 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.007632/1.093, allocations: 3.403 MB / 1.38 GB, free: 15.49 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002486/1.095, allocations: 0.8744 MB / 1.381 GB, free: 15.04 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005742/1.101, allocations: 1.449 MB / 1.383 GB, free: 14.36 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002526/1.104, allocations: 0.9264 MB / 1.384 GB, free: 13.95 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002439/1.104, allocations: 100.1 kB / 1.384 GB, free: 13.95 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002959/1.107, allocations: 0.9087 MB / 1.385 GB, free: 13.59 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.000405/1.107, allocations: 292.8 kB / 1.385 GB, free: 13.41 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001051/1.108, allocations: 0.6329 MB / 1.386 GB, free: 13.03 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004215/1.113, allocations: 1.989 MB / 1.387 GB, free: 12.28 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/1.113, allocations: 5.062 kB / 1.387 GB, free: 12.28 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.934e-06/1.113, allocations: 0 / 1.387 GB, free: 12.28 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.707e-05/1.113, allocations: 0 / 1.387 GB, free: 12.28 MB / 1.092 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.003262/1.116, allocations: 1.555 MB / 1.389 GB, free: 11.2 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/1.116, allocations: 13.64 kB / 1.389 GB, free: 11.2 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004779/1.116, allocations: 143.5 kB / 1.389 GB, free: 11.13 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002346/1.119, allocations: 1.122 MB / 1.39 GB, free: 10.46 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.687e-05/1.119, allocations: 53.09 kB / 1.39 GB, free: 10.44 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/1.119, allocations: 75.02 kB / 1.39 GB, free: 10.41 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001662/1.121, allocations: 0.7936 MB / 1.391 GB, free: 10.04 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/1.121, allocations: 1.844 kB / 1.391 GB, free: 10.04 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.676e-05/1.121, allocations: 30.25 kB / 1.391 GB, free: 10.01 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.976e-05/1.121, allocations: 19.44 kB / 1.391 GB, free: 10.01 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001449/1.122, allocations: 0.5704 MB / 1.392 GB, free: 9.812 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.006657/1.129, allocations: 3.712 MB / 1.395 GB, free: 7.031 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007678/1.13, allocations: 243.9 kB / 1.396 GB, free: 6.938 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004202/1.13, allocations: 163.4 kB / 1.396 GB, free: 6.883 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006887/1.131, allocations: 0.6586 MB / 1.396 GB, free: 6.121 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.07e-05/1.131, allocations: 41.16 kB / 1.396 GB, free: 6.074 MB / 1.092 GB Notification: Performance of pre-optimization done (n=31): time 3.567e-06/1.131, allocations: 0 / 1.396 GB, free: 6.074 MB / 1.092 GB Notification: Performance of matching and sorting (n=31): time 0.001555/1.132, allocations: 0.5237 MB / 1.397 GB, free: 5.867 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/1.132, allocations: 55.8 kB / 1.397 GB, free: 5.805 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001546/1.134, allocations: 0.9595 MB / 1.398 GB, free: 5.395 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.68e-05/1.134, allocations: 36.42 kB / 1.398 GB, free: 5.355 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004964/1.135, allocations: 0.4938 MB / 1.398 GB, free: 4.957 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001621/1.135, allocations: 120.1 kB / 1.399 GB, free: 4.863 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001874/1.135, allocations: 115.4 kB / 1.399 GB, free: 4.801 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001597/1.135, allocations: 329 kB / 1.399 GB, free: 4.484 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004082/1.135, allocations: 165.4 kB / 1.399 GB, free: 4.43 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005713/1.136, allocations: 352.2 kB / 1.399 GB, free: 4.16 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009413/1.137, allocations: 0.5084 MB / 1.4 GB, free: 3.812 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/1.137, allocations: 0.8438 kB / 1.4 GB, free: 3.812 MB / 1.092 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001367/1.138, allocations: 0.6259 MB / 1.401 GB, free: 3.547 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/1.138, allocations: 12.02 kB / 1.401 GB, free: 3.543 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/1.138, allocations: 12.31 kB / 1.401 GB, free: 3.535 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/1.138, allocations: 12.67 kB / 1.401 GB, free: 3.531 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004803/1.139, allocations: 122.9 kB / 1.401 GB, free: 3.52 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.935e-05/1.139, allocations: 9.359 kB / 1.401 GB, free: 3.52 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007535/1.14, allocations: 83.39 kB / 1.401 GB, free: 3.473 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-05/1.14, allocations: 29.88 kB / 1.401 GB, free: 3.465 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.0004123/1.14, allocations: 279.9 kB / 1.401 GB, free: 3.254 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/1.14, allocations: 108.2 kB / 1.401 GB, free: 3.195 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/1.141, allocations: 487.4 kB / 1.402 GB, free: 3.004 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-05/1.141, allocations: 4.078 kB / 1.402 GB, free: 3.004 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/1.141, allocations: 1.812 kB / 1.402 GB, free: 3.004 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000857/1.142, allocations: 455.4 kB / 1.402 GB, free: 2.746 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002662/1.145, allocations: 1.365 MB / 1.403 GB, free: 2.004 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/1.145, allocations: 2.781 kB / 1.403 GB, free: 2.004 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003555/1.145, allocations: 76.83 kB / 1.404 GB, free: 1.996 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.006e-05/1.145, allocations: 6.797 kB / 1.404 GB, free: 1.992 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.767e-05/1.145, allocations: 8.953 kB / 1.404 GB, free: 1.988 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/1.145, allocations: 4.172 kB / 1.404 GB, free: 1.988 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.145, allocations: 5.406 kB / 1.404 GB, free: 1.984 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/1.147, allocations: 0.7716 MB / 1.404 GB, free: 1.57 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004384/1.147, allocations: 232.8 kB / 1.405 GB, free: 1.383 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/1.147, allocations: 9.109 kB / 1.405 GB, free: 1.379 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005555/1.148, allocations: 27.5 kB / 1.405 GB, free: 1.375 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.076e-05/1.148, allocations: 29.06 kB / 1.405 GB, free: 1.367 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.943e-05/1.148, allocations: 20.41 kB / 1.405 GB, free: 1.363 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001029/1.149, allocations: 0.6682 MB / 1.405 GB, free: 1.07 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.11e-07/1.149, allocations: 3.938 kB / 1.405 GB, free: 1.066 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001319/1.15, allocations: 341.3 kB / 1.406 GB, free: 0.9922 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.0007601/1.151, allocations: 374.9 kB / 1.406 GB, free: 0.8008 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00104/1.152, allocations: 397.5 kB / 1.406 GB, free: 0.6875 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/1.152, allocations: 5.031 kB / 1.406 GB, free: 0.6836 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0004188/1.153, allocations: 174.8 kB / 1.406 GB, free: 0.6328 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002907/1.156, allocations: 0.6164 MB / 1.407 GB, free: 448 kB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003126/1.159, allocations: 1.654 MB / 1.409 GB, free: 15.46 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008088/1.16, allocations: 1.031 MB / 1.41 GB, free: 14.73 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002429/1.16, allocations: 84.75 kB / 1.41 GB, free: 14.71 MB / 1.107 GB Notification: Performance of SimCode: time 9.72e-07/1.16, allocations: 4 kB / 1.41 GB, free: 14.71 MB / 1.107 GB Notification: Performance of Templates: time 0.03695/1.197, allocations: 18.2 MB / 1.428 GB, free: 6.988 MB / 1.107 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.74434189099702]