Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001993/0.001993, allocations: 80.67 kB / 19.18 MB, free: 2.527 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.002561/0.002561, allocations: 166.4 kB / 22.46 MB, free: 5.355 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.47/1.47, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.797/2.797, allocations: 359 MB / 0.6037 GB, free: 14.95 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.951 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.58e-05, allocations: 2.281 kB / 0.951 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04767/0.0477, allocations: 38.12 MB / 0.9882 GB, free: 5.254 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01664/0.06435, allocations: 9.679 MB / 0.9977 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001714/0.06606, allocations: 79.31 kB / 0.9977 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001822/0.06788, allocations: 0.6441 MB / 0.9984 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00521/0.07309, allocations: 2.067 MB / 1 GB, free: 8.75 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003072/0.07616, allocations: 1.257 MB / 1.002 GB, free: 7.5 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004814/0.08098, allocations: 3.486 MB / 1.005 GB, free: 4.004 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001364/0.08234, allocations: 0.8067 MB / 1.006 GB, free: 3.18 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003441/0.08578, allocations: 1.711 MB / 1.007 GB, free: 1.469 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001286/0.08707, allocations: 0.7982 MB / 1.008 GB, free: 0.668 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001824/0.08725, allocations: 100 kB / 1.008 GB, free: 0.5703 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001815/0.08907, allocations: 0.7324 MB / 1.009 GB, free: 15.84 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000339/0.08941, allocations: 298.8 kB / 1.009 GB, free: 15.54 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0006298/0.09003, allocations: 438.9 kB / 1.01 GB, free: 15.11 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002964/0.093, allocations: 1.959 MB / 1.012 GB, free: 13.15 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.093, allocations: 7.938 kB / 1.012 GB, free: 13.14 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.162e-06/0.093, allocations: 0 / 1.012 GB, free: 13.14 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.536e-05/0.09303, allocations: 0 / 1.012 GB, free: 13.14 MB / 0.92 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.002701/0.09573, allocations: 1.469 MB / 1.013 GB, free: 11.64 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.09578, allocations: 12.03 kB / 1.013 GB, free: 11.62 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003776/0.09616, allocations: 144.1 kB / 1.013 GB, free: 11.48 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001965/0.09812, allocations: 1.059 MB / 1.014 GB, free: 10.39 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.126e-05/0.09817, allocations: 58.38 kB / 1.014 GB, free: 10.33 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.0983, allocations: 75.94 kB / 1.014 GB, free: 10.26 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.09984, allocations: 0.9411 MB / 1.015 GB, free: 9.242 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.09987, allocations: 0 / 1.015 GB, free: 9.242 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-05/0.09994, allocations: 28 kB / 1.015 GB, free: 9.215 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.228e-05/0.09997, allocations: 16 kB / 1.015 GB, free: 9.199 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/0.1012, allocations: 0.5711 MB / 1.016 GB, free: 8.629 MB / 0.92 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.004136/0.1053, allocations: 2.606 MB / 1.018 GB, free: 5.945 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006746/0.106, allocations: 246.3 kB / 1.019 GB, free: 5.695 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004438/0.1064, allocations: 164.7 kB / 1.019 GB, free: 5.531 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002677/0.1067, allocations: 67.95 kB / 1.019 GB, free: 5.465 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.46e-05/0.1068, allocations: 42.56 kB / 1.019 GB, free: 5.414 MB / 0.92 GB Notification: Performance of pre-optimization done (n=31): time 1.593e-06/0.1068, allocations: 0 / 1.019 GB, free: 5.414 MB / 0.92 GB Notification: Performance of matching and sorting (n=31): time 0.001305/0.1081, allocations: 0.5065 MB / 1.019 GB, free: 4.902 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.1081, allocations: 59.41 kB / 1.02 GB, free: 4.832 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.1092, allocations: 0.8179 MB / 1.02 GB, free: 4.008 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.727e-05/0.1093, allocations: 33.7 kB / 1.02 GB, free: 3.969 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004687/0.1098, allocations: 0.5078 MB / 1.021 GB, free: 3.453 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.1099, allocations: 115.1 kB / 1.021 GB, free: 3.34 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.1101, allocations: 118.2 kB / 1.021 GB, free: 3.215 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.1102, allocations: 330 kB / 1.021 GB, free: 2.887 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003682/0.1106, allocations: 157.2 kB / 1.022 GB, free: 2.734 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006702/0.1113, allocations: 0.502 MB / 1.022 GB, free: 2.117 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009436/0.1122, allocations: 0.5186 MB / 1.023 GB, free: 1.527 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.834e-06/0.1122, allocations: 7.984 kB / 1.023 GB, free: 1.52 MB / 0.92 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001254/0.1135, allocations: 0.6059 MB / 1.023 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.1135, allocations: 6.344 kB / 1.023 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.1135, allocations: 8 kB / 1.023 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/0.1135, allocations: 8.594 kB / 1.023 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004636/0.114, allocations: 127.8 kB / 1.023 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.026e-05/0.114, allocations: 11.98 kB / 1.023 GB, free: 0.75 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005157/0.1145, allocations: 71.55 kB / 1.023 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.062e-05/0.1146, allocations: 31.92 kB / 1.023 GB, free: 0.6484 MB / 0.92 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.0003755/0.115, allocations: 265.7 kB / 1.024 GB, free: 388 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.1151, allocations: 95.38 kB / 1.024 GB, free: 292 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/0.1162, allocations: 495 kB / 1.024 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.1162, allocations: 4 kB / 1.024 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1162, allocations: 0 / 1.024 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007939/0.117, allocations: 457.5 kB / 1.025 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002027/0.119, allocations: 1.158 MB / 1.026 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.119, allocations: 0 / 1.026 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003432/0.1193, allocations: 75.89 kB / 1.026 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.1193, allocations: 4 kB / 1.026 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.717e-05/0.1194, allocations: 12.16 kB / 1.026 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.702e-06/0.1194, allocations: 7.984 kB / 1.026 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1194, allocations: 0 / 1.026 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001525/0.1209, allocations: 0.759 MB / 1.027 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000278/0.1212, allocations: 139.3 kB / 1.027 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.1213, allocations: 12.06 kB / 1.027 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004595/0.1218, allocations: 27.97 kB / 1.027 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.642e-05/0.1218, allocations: 31.89 kB / 1.027 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-05/0.1219, allocations: 15.98 kB / 1.027 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007442/0.1226, allocations: 0.5537 MB / 1.027 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.1226, allocations: 0 / 1.027 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001058/0.1237, allocations: 363 kB / 1.028 GB, free: 12.08 MB / 0.9356 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.0007064/0.1244, allocations: 385.3 kB / 1.028 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009525/0.1253, allocations: 411.6 kB / 1.028 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.1253, allocations: 0 / 1.028 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004032/0.1257, allocations: 185 kB / 1.029 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002201/0.1279, allocations: 477 kB / 1.029 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002684/0.1306, allocations: 1.547 MB / 1.031 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005051/0.1311, allocations: 448.9 kB / 1.031 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0005482/0.1317, allocations: 171.8 kB / 1.031 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/0.1318, allocations: 76.47 kB / 1.031 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of SimCode: time 8.12e-07/0.1318, allocations: 4 kB / 1.031 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of Templates: time 0.03352/0.1654, allocations: 18.64 MB / 1.05 GB, free: 6.145 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.675404980778694]