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.001392/0.001392, allocations: 84.67 kB / 19.76 MB, free: 2.023 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.00144/0.00144, allocations: 159.1 kB / 23.01 MB, free: 4.961 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.445/1.445, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.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.765/2.765, allocations: 377.9 MB / 0.6228 GB, free: 12.55 MB / 0.5919 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.002053/0.002053, allocations: 67.89 kB / 0.982 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9828/0.9848, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03212/1.017, allocations: 38.48 MB / 1.191 GB, free: 7.426 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.014/1.031, allocations: 9.662 MB / 1.201 GB, free: 0.8086 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002374/1.033, allocations: 81 kB / 1.201 GB, free: 0.7656 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002198/1.036, allocations: 0.6353 MB / 1.202 GB, free: 408 kB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006735/1.042, allocations: 2.007 MB / 1.204 GB, free: 15.23 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00445/1.047, allocations: 1.215 MB / 1.205 GB, free: 14.56 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.00647/1.053, allocations: 3.454 MB / 1.208 GB, free: 12.88 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001669/1.055, allocations: 0.8072 MB / 1.209 GB, free: 12.46 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004455/1.059, allocations: 1.48 MB / 1.21 GB, free: 11.77 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002446/1.062, allocations: 0.8828 MB / 1.211 GB, free: 11.39 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002676/1.062, allocations: 100.2 kB / 1.211 GB, free: 11.39 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002466/1.064, allocations: 0.7085 MB / 1.212 GB, free: 11.15 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003918/1.065, allocations: 300.5 kB / 1.212 GB, free: 10.96 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0009489/1.066, allocations: 0.5107 MB / 1.213 GB, free: 10.7 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004135/1.07, allocations: 1.957 MB / 1.215 GB, free: 9.973 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/1.07, allocations: 0 / 1.215 GB, free: 9.973 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.344e-06/1.07, allocations: 5.812 kB / 1.215 GB, free: 9.969 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.843e-05/1.07, allocations: 0 / 1.215 GB, free: 9.969 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.003151/1.073, allocations: 1.476 MB / 1.216 GB, free: 8.992 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/1.073, allocations: 10.03 kB / 1.216 GB, free: 8.992 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004438/1.074, allocations: 142.7 kB / 1.216 GB, free: 8.922 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002107/1.076, allocations: 1.059 MB / 1.217 GB, free: 8.301 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.646e-05/1.076, allocations: 59.5 kB / 1.217 GB, free: 8.27 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/1.076, allocations: 68.22 kB / 1.217 GB, free: 8.25 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/1.078, allocations: 0.9504 MB / 1.218 GB, free: 7.68 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.155e-05/1.078, allocations: 5.297 kB / 1.218 GB, free: 7.676 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.129e-05/1.078, allocations: 27.69 kB / 1.218 GB, free: 7.656 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.488e-05/1.078, allocations: 19.28 kB / 1.218 GB, free: 7.656 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/1.079, allocations: 0.5692 MB / 1.219 GB, free: 7.461 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.004351/1.083, allocations: 2.599 MB / 1.222 GB, free: 5.73 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006282/1.084, allocations: 250.7 kB / 1.222 GB, free: 5.629 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003632/1.084, allocations: 165 kB / 1.222 GB, free: 5.574 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002662/1.085, allocations: 65.7 kB / 1.222 GB, free: 5.559 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.834e-05/1.085, allocations: 35.02 kB / 1.222 GB, free: 5.52 MB / 1.092 GB Notification: Performance of pre-optimization done (n=31): time 2.114e-06/1.085, allocations: 0 / 1.222 GB, free: 5.52 MB / 1.092 GB Notification: Performance of matching and sorting (n=31): time 0.001333/1.086, allocations: 0.5074 MB / 1.223 GB, free: 5.32 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.543e-05/1.086, allocations: 63.41 kB / 1.223 GB, free: 5.25 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/1.087, allocations: 0.8157 MB / 1.223 GB, free: 4.895 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 6.176e-05/1.087, allocations: 33.03 kB / 1.223 GB, free: 4.859 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004998/1.088, allocations: 0.5107 MB / 1.224 GB, free: 4.453 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/1.088, allocations: 119.7 kB / 1.224 GB, free: 4.359 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/1.088, allocations: 115.7 kB / 1.224 GB, free: 4.293 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001606/1.088, allocations: 329.7 kB / 1.224 GB, free: 3.977 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003807/1.089, allocations: 165.9 kB / 1.225 GB, free: 3.926 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000666/1.089, allocations: 0.495 MB / 1.225 GB, free: 3.469 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000958/1.09, allocations: 0.5111 MB / 1.226 GB, free: 3.121 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/1.09, allocations: 2.406 kB / 1.226 GB, free: 3.121 MB / 1.092 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001362/1.092, allocations: 0.6112 MB / 1.226 GB, free: 2.863 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/1.092, allocations: 7.656 kB / 1.226 GB, free: 2.863 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/1.092, allocations: 4.875 kB / 1.226 GB, free: 2.863 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.441e-05/1.092, allocations: 9.484 kB / 1.226 GB, free: 2.863 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000467/1.092, allocations: 134.3 kB / 1.226 GB, free: 2.84 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-05/1.092, allocations: 13.84 kB / 1.226 GB, free: 2.836 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006633/1.093, allocations: 70 kB / 1.226 GB, free: 2.797 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.358e-05/1.093, allocations: 26.48 kB / 1.226 GB, free: 2.793 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.0004815/1.093, allocations: 276.5 kB / 1.227 GB, free: 2.586 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/1.094, allocations: 89.12 kB / 1.227 GB, free: 2.539 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/1.095, allocations: 480.7 kB / 1.227 GB, free: 2.344 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/1.095, allocations: 3.969 kB / 1.227 GB, free: 2.344 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.095, allocations: 1.734 kB / 1.227 GB, free: 2.344 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008024/1.095, allocations: 457.4 kB / 1.228 GB, free: 2.09 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002303/1.098, allocations: 1.165 MB / 1.229 GB, free: 1.469 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/1.098, allocations: 1.062 kB / 1.229 GB, free: 1.469 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003615/1.098, allocations: 74.06 kB / 1.229 GB, free: 1.465 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/1.098, allocations: 3.438 kB / 1.229 GB, free: 1.465 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.186e-05/1.098, allocations: 13.8 kB / 1.229 GB, free: 1.457 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.271e-06/1.098, allocations: 10.16 kB / 1.229 GB, free: 1.449 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/1.098, allocations: 2.516 kB / 1.229 GB, free: 1.449 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001485/1.1, allocations: 0.7647 MB / 1.23 GB, free: 1.047 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000382/1.1, allocations: 133.1 kB / 1.23 GB, free: 0.9688 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/1.1, allocations: 12.64 kB / 1.23 GB, free: 0.9609 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004857/1.101, allocations: 37.47 kB / 1.23 GB, free: 0.9453 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.182e-05/1.101, allocations: 26.22 kB / 1.23 GB, free: 0.9414 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.568e-05/1.101, allocations: 21.5 kB / 1.23 GB, free: 0.9375 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0009603/1.102, allocations: 0.5492 MB / 1.23 GB, free: 0.707 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.11e-07/1.102, allocations: 0 / 1.23 GB, free: 0.707 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001546/1.103, allocations: 358.2 kB / 1.231 GB, free: 0.6172 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.0008242/1.104, allocations: 371 kB / 1.231 GB, free: 440 kB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00108/1.105, allocations: 404.4 kB / 1.232 GB, free: 320 kB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.105, allocations: 0 / 1.232 GB, free: 320 kB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.000417/1.106, allocations: 183.2 kB / 1.232 GB, free: 264 kB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002202/1.108, allocations: 482.6 kB / 1.232 GB, free: 108 kB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00292/1.111, allocations: 1.602 MB / 1.234 GB, free: 15.16 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005178/1.111, allocations: 453.2 kB / 1.234 GB, free: 15.02 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0006512/1.112, allocations: 167.9 kB / 1.234 GB, free: 14.98 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/1.112, allocations: 73.77 kB / 1.234 GB, free: 14.97 MB / 1.107 GB Notification: Performance of SimCode: time 7.72e-07/1.112, allocations: 0 / 1.234 GB, free: 14.97 MB / 1.107 GB Notification: Performance of Templates: time 0.03806/1.15, allocations: 18.75 MB / 1.253 GB, free: 10.2 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 -s ida -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: 9.760931783006527]