Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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.001762/0.001762, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.002125/0.002125, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.517/1.517, allocations: 177.1 MB / 203.9 MB, free: 5.57 MB / 186.7 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.77/2.77, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 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.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eigPor.Q1_flow|eigPor.Q2_flow|eigPor.Q3_flow|eigPor.Q4_flow|eigPor.vol1.T|eigPor.vol2.T|eigPor.vol3.T|eigPor.vol4.T|sou1.T|sou2.T_in|sou3.T|sou4.T_in|sin.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eigPor.Q1_flow|eigPor.Q2_flow|eigPor.Q3_flow|eigPor.Q4_flow|eigPor.vol1.T|eigPor.vol2.T|eigPor.vol3.T|eigPor.vol4.T|sou1.T|sou2.T_in|sou3.T|sou4.T_in|sin.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.7864 GB, free: 11.7 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.835e-05/3.032e-05, allocations: 2.312 kB / 0.7864 GB, free: 11.69 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.145/0.145, allocations: 70.44 MB / 0.8552 GB, free: 5.082 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.04022/0.1852, allocations: 17.62 MB / 0.8724 GB, free: 3.41 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00589/0.1911, allocations: 154.7 kB / 0.8725 GB, free: 3.258 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.005497/0.1966, allocations: 1.249 MB / 0.8737 GB, free: 2 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.01506/0.2117, allocations: 3.983 MB / 0.8776 GB, free: 14 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.00769/0.2193, allocations: 2.213 MB / 0.8798 GB, free: 11.78 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.01395/0.2333, allocations: 6.874 MB / 0.8865 GB, free: 4.883 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004493/0.2378, allocations: 1.635 MB / 0.8881 GB, free: 3.207 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01117/0.249, allocations: 3.272 MB / 0.8913 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004889/0.2539, allocations: 1.6 MB / 0.8929 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0008746/0.2547, allocations: 200 kB / 0.8931 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005524/0.2602, allocations: 1.367 MB / 0.8944 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.001319/0.2616, allocations: 0.5756 MB / 0.895 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.003376/0.2649, allocations: 0.8495 MB / 0.8958 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.01013/0.2751, allocations: 3.797 MB / 0.8995 GB, free: 7.551 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.2751, allocations: 0 / 0.8995 GB, free: 7.551 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2751, allocations: 4 kB / 0.8995 GB, free: 7.547 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001048/0.2752, allocations: 4 kB / 0.8995 GB, free: 7.543 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.006685/0.2819, allocations: 2.703 MB / 0.9021 GB, free: 4.789 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.2819, allocations: 12.03 kB / 0.9022 GB, free: 4.777 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001326/0.2833, allocations: 403 kB / 0.9025 GB, free: 4.383 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004371/0.2876, allocations: 2.16 MB / 0.9046 GB, free: 2.16 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.2877, allocations: 102.7 kB / 0.9047 GB, free: 2.059 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002667/0.288, allocations: 152 kB / 0.9049 GB, free: 1.91 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004114/0.2921, allocations: 1.825 MB / 0.9067 GB, free: 15.93 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.971e-05/0.2922, allocations: 7.953 kB / 0.9067 GB, free: 15.92 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001422/0.2923, allocations: 56 kB / 0.9067 GB, free: 15.87 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.237e-05/0.2924, allocations: 36 kB / 0.9068 GB, free: 15.83 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002635/0.295, allocations: 1.126 MB / 0.9079 GB, free: 14.7 MB / 0.823 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.01014/0.3051, allocations: 5.164 MB / 0.9129 GB, free: 9.402 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/0.3063, allocations: 445.8 kB / 0.9133 GB, free: 8.961 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007189/0.307, allocations: 306.7 kB / 0.9136 GB, free: 8.66 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004701/0.3075, allocations: 112.4 kB / 0.9137 GB, free: 8.547 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.376e-05/0.3075, allocations: 43.06 kB / 0.9138 GB, free: 8.496 MB / 0.823 GB Notification: Performance of pre-optimization done (n=59): time 2.805e-06/0.3075, allocations: 4 kB / 0.9138 GB, free: 8.492 MB / 0.823 GB Notification: Performance of matching and sorting (n=59): time 0.002796/0.3103, allocations: 0.9683 MB / 0.9147 GB, free: 7.523 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.391e-05/0.3104, allocations: 55.91 kB / 0.9148 GB, free: 7.453 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002561/0.313, allocations: 1.556 MB / 0.9163 GB, free: 5.898 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001136/0.3131, allocations: 41.7 kB / 0.9163 GB, free: 5.852 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001107/0.3142, allocations: 0.9748 MB / 0.9173 GB, free: 4.867 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003211/0.3145, allocations: 222.1 kB / 0.9175 GB, free: 4.648 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003779/0.3149, allocations: 226.8 kB / 0.9177 GB, free: 4.418 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000234/0.3151, allocations: 345.9 kB / 0.918 GB, free: 4.074 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008038/0.3159, allocations: 334.4 kB / 0.9184 GB, free: 3.75 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001441/0.3174, allocations: 0.9623 MB / 0.9193 GB, free: 2.566 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002376/0.3197, allocations: 1.021 MB / 0.9203 GB, free: 1.406 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.295e-05/0.3197, allocations: 4 kB / 0.9203 GB, free: 1.402 MB / 0.823 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002987/0.3227, allocations: 1.254 MB / 0.9215 GB, free: 148 kB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.3228, allocations: 12 kB / 0.9215 GB, free: 136 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/0.3228, allocations: 8 kB / 0.9216 GB, free: 128 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.907e-05/0.3228, allocations: 16 kB / 0.9216 GB, free: 112 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/0.324, allocations: 288 kB / 0.9218 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.148e-05/0.324, allocations: 23.92 kB / 0.9219 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/0.3255, allocations: 139.2 kB / 0.922 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.3256, allocations: 48 kB / 0.922 GB, free: 15.62 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (135): * Single equations (assignments): 135 * 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.001025/0.3266, allocations: 445.3 kB / 0.9225 GB, free: 15.17 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004665/0.3271, allocations: 198.8 kB / 0.9227 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002133/0.3292, allocations: 0.8572 MB / 0.9235 GB, free: 14.12 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.548e-05/0.3292, allocations: 15.98 kB / 0.9235 GB, free: 14.1 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.3292, allocations: 4 kB / 0.9235 GB, free: 14.1 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001668/0.3309, allocations: 0.8017 MB / 0.9243 GB, free: 13.25 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004872/0.3358, allocations: 2.088 MB / 0.9263 GB, free: 11.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.3358, allocations: 0 / 0.9263 GB, free: 11.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001475/0.3372, allocations: 179.7 kB / 0.9265 GB, free: 10.92 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.402e-05/0.3373, allocations: 4 kB / 0.9265 GB, free: 10.91 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.657e-05/0.3373, allocations: 16 kB / 0.9265 GB, free: 10.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.585e-05/0.3374, allocations: 12.08 kB / 0.9265 GB, free: 10.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.749e-05/0.3374, allocations: 7.938 kB / 0.9265 GB, free: 10.88 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003989/0.3414, allocations: 1.337 MB / 0.9278 GB, free: 9.504 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008488/0.3422, allocations: 262.7 kB / 0.9281 GB, free: 9.246 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002118/0.3424, allocations: 19.98 kB / 0.9281 GB, free: 9.227 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009177/0.3433, allocations: 55.94 kB / 0.9282 GB, free: 9.172 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/0.3435, allocations: 60.28 kB / 0.9282 GB, free: 9.113 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-05/0.3436, allocations: 35.97 kB / 0.9283 GB, free: 9.078 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001827/0.3454, allocations: 1.029 MB / 0.9293 GB, free: 8.059 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1e-07/0.3454, allocations: 3.938 kB / 0.9293 GB, free: 8.055 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002189/0.3476, allocations: 0.6896 MB / 0.9299 GB, free: 7.363 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.001281/0.3489, allocations: 0.6063 MB / 0.9305 GB, free: 6.754 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002028/0.3509, allocations: 0.7851 MB / 0.9313 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.3509, allocations: 0 / 0.9313 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0008408/0.3518, allocations: 338.5 kB / 0.9316 GB, free: 5.637 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004302/0.3561, allocations: 0.9409 MB / 0.9325 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005931/0.362, allocations: 3.043 MB / 0.9355 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001109/0.3631, allocations: 0.8346 MB / 0.9363 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001362/0.3645, allocations: 341.4 kB / 0.9367 GB, free: 396 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003373/0.3648, allocations: 140.5 kB / 0.9368 GB, free: 256 kB / 0.8386 GB Notification: Performance of SimCode: time 1.613e-06/0.3648, allocations: 0 / 0.9368 GB, free: 256 kB / 0.8386 GB Notification: Performance of Templates: time 0.07386/0.4387, allocations: 36.38 MB / 0.9723 GB, free: 12.66 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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.411824651993811]