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.001512/0.001512, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001824/0.001824, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.407/1.407, allocations: 230.6 MB / 256 MB, free: 8.008 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.039/3.039, allocations: 0.4899 GB / 0.7951 GB, free: 33.24 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.001875/0.001875, allocations: 66.05 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3032, allocations: 176.1 MB / 1.326 GB, free: 1.418 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04381/0.347, allocations: 42.56 MB / 1.368 GB, free: 6.703 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0158/0.3628, allocations: 10.46 MB / 1.378 GB, free: 12.22 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002035/0.3649, allocations: 83.31 kB / 1.378 GB, free: 12.14 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001949/0.3668, allocations: 0.6676 MB / 1.379 GB, free: 11.46 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005567/0.3724, allocations: 2.025 MB / 1.381 GB, free: 9.434 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003147/0.3755, allocations: 1.237 MB / 1.382 GB, free: 8.207 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004732/0.3802, allocations: 3.485 MB / 1.385 GB, free: 4.711 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001139/0.3814, allocations: 0.8185 MB / 1.386 GB, free: 3.871 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00306/0.3844, allocations: 1.454 MB / 1.388 GB, free: 2.418 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00115/0.3856, allocations: 0.9217 MB / 1.389 GB, free: 1.492 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001301/0.3857, allocations: 100 kB / 1.389 GB, free: 1.395 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001973/0.3877, allocations: 0.9475 MB / 1.39 GB, free: 452 kB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002755/0.388, allocations: 294.8 kB / 1.39 GB, free: 156 kB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006374/0.3886, allocations: 0.6298 MB / 1.39 GB, free: 15.52 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002621/0.3912, allocations: 1.997 MB / 1.392 GB, free: 13.52 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.3912, allocations: 0 / 1.392 GB, free: 13.52 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3912, allocations: 0 / 1.392 GB, free: 13.52 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.251e-05/0.3913, allocations: 0 / 1.392 GB, free: 13.52 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.002336/0.3936, allocations: 1.481 MB / 1.394 GB, free: 12 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.3936, allocations: 8.031 kB / 1.394 GB, free: 11.99 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003244/0.394, allocations: 144.1 kB / 1.394 GB, free: 11.85 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001737/0.3957, allocations: 1.063 MB / 1.395 GB, free: 10.75 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.169e-05/0.3957, allocations: 58 kB / 1.395 GB, free: 10.69 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.3958, allocations: 75.95 kB / 1.395 GB, free: 10.62 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/0.3971, allocations: 0.7905 MB / 1.396 GB, free: 9.793 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.3971, allocations: 0 / 1.396 GB, free: 9.793 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.156e-05/0.3972, allocations: 28 kB / 1.396 GB, free: 9.766 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.458e-05/0.3972, allocations: 27.94 kB / 1.396 GB, free: 9.738 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.3983, allocations: 0.5711 MB / 1.397 GB, free: 9.164 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.003972/0.4023, allocations: 3.638 MB / 1.4 GB, free: 5.277 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005429/0.4028, allocations: 248.1 kB / 1.4 GB, free: 5.027 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003216/0.4031, allocations: 166.5 kB / 1.401 GB, free: 4.863 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002383/0.4034, allocations: 55.95 kB / 1.401 GB, free: 4.809 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.4034, allocations: 34.56 kB / 1.401 GB, free: 4.766 MB / 1.092 GB Notification: Performance of pre-optimization done (n=31): time 1.233e-06/0.4034, allocations: 0 / 1.401 GB, free: 4.766 MB / 1.092 GB Notification: Performance of matching and sorting (n=31): time 0.001106/0.4045, allocations: 0.5246 MB / 1.401 GB, free: 4.234 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.4045, allocations: 51.41 kB / 1.401 GB, free: 4.172 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001279/0.4058, allocations: 0.9615 MB / 1.402 GB, free: 3.191 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.416e-05/0.4059, allocations: 37.64 kB / 1.402 GB, free: 3.148 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004746/0.4063, allocations: 0.5004 MB / 1.403 GB, free: 2.641 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.4065, allocations: 123 kB / 1.403 GB, free: 2.52 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001898/0.4066, allocations: 118.2 kB / 1.403 GB, free: 2.395 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002093/0.4069, allocations: 325.9 kB / 1.403 GB, free: 2.07 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003517/0.4072, allocations: 165.2 kB / 1.403 GB, free: 1.91 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005567/0.4078, allocations: 360.4 kB / 1.404 GB, free: 1.48 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008393/0.4086, allocations: 0.5116 MB / 1.404 GB, free: 0.8984 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.4086, allocations: 0 / 1.404 GB, free: 0.8984 MB / 1.092 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001089/0.4097, allocations: 0.6291 MB / 1.405 GB, free: 268 kB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.4097, allocations: 8 kB / 1.405 GB, free: 260 kB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.4097, allocations: 4 kB / 1.405 GB, free: 256 kB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.4097, allocations: 12.59 kB / 1.405 GB, free: 244 kB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000417/0.4102, allocations: 131.9 kB / 1.405 GB, free: 112 kB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.4102, allocations: 8 kB / 1.405 GB, free: 104 kB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005219/0.4107, allocations: 83.42 kB / 1.405 GB, free: 20 kB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.048e-05/0.4108, allocations: 28.03 kB / 1.405 GB, free: 15.99 MB / 1.107 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.0003496/0.4111, allocations: 277.5 kB / 1.405 GB, free: 15.71 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001717/0.4113, allocations: 103.3 kB / 1.405 GB, free: 15.61 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009251/0.4122, allocations: 496.3 kB / 1.406 GB, free: 15.12 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.4122, allocations: 4 kB / 1.406 GB, free: 15.11 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/0.4122, allocations: 3.984 kB / 1.406 GB, free: 15.11 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006963/0.4129, allocations: 457.4 kB / 1.406 GB, free: 14.63 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00199/0.4149, allocations: 1.332 MB / 1.408 GB, free: 13.24 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.4149, allocations: 7.984 kB / 1.408 GB, free: 13.23 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003204/0.4152, allocations: 75.89 kB / 1.408 GB, free: 13.16 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.4152, allocations: 7.938 kB / 1.408 GB, free: 13.15 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.4153, allocations: 8 kB / 1.408 GB, free: 13.14 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.4153, allocations: 0 / 1.408 GB, free: 13.14 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.4153, allocations: 7.938 kB / 1.408 GB, free: 13.13 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/0.4165, allocations: 0.7839 MB / 1.408 GB, free: 12.32 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003091/0.4168, allocations: 159.1 kB / 1.409 GB, free: 12.16 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.865e-05/0.4169, allocations: 4 kB / 1.409 GB, free: 12.16 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004404/0.4174, allocations: 35.95 kB / 1.409 GB, free: 12.12 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.476e-05/0.4174, allocations: 31.89 kB / 1.409 GB, free: 12.09 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.716e-05/0.4175, allocations: 19.98 kB / 1.409 GB, free: 12.07 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0008263/0.4183, allocations: 0.663 MB / 1.409 GB, free: 11.4 MB / 1.107 GB Notification: Performance of sort global known variables: time 8e-08/0.4183, allocations: 0 / 1.409 GB, free: 11.4 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0009584/0.4192, allocations: 351.1 kB / 1.41 GB, free: 11.06 MB / 1.107 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.0006103/0.4199, allocations: 374.3 kB / 1.41 GB, free: 10.69 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0008397/0.4207, allocations: 412.5 kB / 1.41 GB, free: 10.29 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4207, allocations: 0 / 1.41 GB, free: 10.29 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0003501/0.4211, allocations: 175.8 kB / 1.411 GB, free: 10.11 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002296/0.4233, allocations: 0.6059 MB / 1.411 GB, free: 9.52 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/0.4257, allocations: 1.628 MB / 1.413 GB, free: 7.84 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006676/0.4264, allocations: 1.044 MB / 1.414 GB, free: 6.766 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0005726/0.427, allocations: 204.3 kB / 1.414 GB, free: 6.566 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.4271, allocations: 79.42 kB / 1.414 GB, free: 6.488 MB / 1.107 GB Notification: Performance of SimCode: time 4.41e-07/0.4271, allocations: 0 / 1.414 GB, free: 6.488 MB / 1.107 GB Notification: Performance of Templates: time 0.03789/0.465, allocations: 21.81 MB / 1.435 GB, free: 0.9492 MB / 1.123 GB " [Timeout remaining time 300] 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/jenkins/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: 8.959792370907962]