Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00184/0.00184, allocations: 75.75 kB / 19.76 MB, free: 2.02 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.002142/0.002142, allocations: 159.8 kB / 23 MB, free: 4.953 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.478/1.478, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.9/2.9, allocations: 394.2 MB / 0.6387 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") [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.002139/0.002139, allocations: 69.92 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9546/0.9568, allocations: 181.8 MB / 1.187 GB, free: 16.23 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07884/1.036, allocations: 71.13 MB / 1.256 GB, free: 404 kB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.03182/1.067, allocations: 17.59 MB / 1.273 GB, free: 2.98 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005125/1.073, allocations: 152.9 kB / 1.273 GB, free: 2.898 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.004648/1.077, allocations: 1.245 MB / 1.275 GB, free: 1.855 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.01232/1.09, allocations: 3.876 MB / 1.278 GB, free: 14.79 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.006254/1.096, allocations: 2.141 MB / 1.28 GB, free: 13.12 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.01131/1.107, allocations: 6.796 MB / 1.287 GB, free: 9.059 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003159/1.11, allocations: 1.58 MB / 1.289 GB, free: 7.895 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007429/1.118, allocations: 2.753 MB / 1.291 GB, free: 6.242 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00405/1.122, allocations: 1.764 MB / 1.293 GB, free: 5.188 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0005139/1.122, allocations: 198.2 kB / 1.293 GB, free: 5.188 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004354/1.127, allocations: 1.33 MB / 1.295 GB, free: 4.551 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.000776/1.127, allocations: 0.5664 MB / 1.295 GB, free: 4.098 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.00212/1.129, allocations: 1.014 MB / 1.296 GB, free: 3.516 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.007661/1.137, allocations: 3.792 MB / 1.3 GB, free: 1.039 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/1.137, allocations: 1.062 kB / 1.3 GB, free: 1.039 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.814e-06/1.137, allocations: 0 / 1.3 GB, free: 1.039 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.655e-05/1.137, allocations: 0 / 1.3 GB, free: 1.039 MB / 1.139 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.006095/1.143, allocations: 2.724 MB / 1.302 GB, free: 15.04 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/1.143, allocations: 10.38 kB / 1.302 GB, free: 15.04 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/1.144, allocations: 285 kB / 1.303 GB, free: 14.89 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004172/1.149, allocations: 1.968 MB / 1.305 GB, free: 13.02 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/1.149, allocations: 106.7 kB / 1.305 GB, free: 12.91 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002651/1.149, allocations: 148 kB / 1.305 GB, free: 12.77 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003389/1.152, allocations: 1.821 MB / 1.307 GB, free: 10.79 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.813e-05/1.152, allocations: 7.938 kB / 1.307 GB, free: 10.79 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001337/1.153, allocations: 56 kB / 1.307 GB, free: 10.73 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.544e-05/1.153, allocations: 43.98 kB / 1.307 GB, free: 10.69 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002649/1.155, allocations: 1.119 MB / 1.308 GB, free: 9.562 MB / 1.154 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.008588/1.164, allocations: 5.109 MB / 1.313 GB, free: 4.312 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/1.165, allocations: 444.9 kB / 1.313 GB, free: 3.867 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006523/1.165, allocations: 306.7 kB / 1.314 GB, free: 3.566 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003922/1.166, allocations: 100.4 kB / 1.314 GB, free: 3.469 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.629e-05/1.166, allocations: 47.05 kB / 1.314 GB, free: 3.414 MB / 1.154 GB Notification: Performance of pre-optimization done (n=59): time 2.494e-06/1.166, allocations: 0 / 1.314 GB, free: 3.414 MB / 1.154 GB Notification: Performance of matching and sorting (n=59): time 0.002429/1.168, allocations: 0.945 MB / 1.315 GB, free: 2.461 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/1.168, allocations: 59.89 kB / 1.315 GB, free: 2.391 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002255/1.171, allocations: 1.551 MB / 1.316 GB, free: 0.8398 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001233/1.171, allocations: 45.7 kB / 1.316 GB, free: 0.7891 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009485/1.172, allocations: 0.9593 MB / 1.317 GB, free: 15.82 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002965/1.172, allocations: 238 kB / 1.317 GB, free: 15.58 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000354/1.172, allocations: 230.8 kB / 1.318 GB, free: 15.35 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000185/1.173, allocations: 345.9 kB / 1.318 GB, free: 15.01 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007571/1.173, allocations: 334.4 kB / 1.318 GB, free: 14.68 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001434/1.175, allocations: 0.9702 MB / 1.319 GB, free: 13.49 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001798/1.177, allocations: 1.016 MB / 1.32 GB, free: 12.34 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/1.177, allocations: 4 kB / 1.32 GB, free: 12.34 MB / 1.17 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002635/1.179, allocations: 1.208 MB / 1.321 GB, free: 11.12 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/1.179, allocations: 8 kB / 1.321 GB, free: 11.12 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/1.179, allocations: 12 kB / 1.321 GB, free: 11.11 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.941e-05/1.179, allocations: 12 kB / 1.321 GB, free: 11.09 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/1.18, allocations: 291.5 kB / 1.322 GB, free: 10.81 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.331e-05/1.18, allocations: 19.94 kB / 1.322 GB, free: 10.79 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/1.182, allocations: 139.2 kB / 1.322 GB, free: 10.65 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.21e-05/1.182, allocations: 51.98 kB / 1.322 GB, free: 10.6 MB / 1.17 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.0009906/1.183, allocations: 437.4 kB / 1.322 GB, free: 10.16 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004047/1.183, allocations: 174.9 kB / 1.323 GB, free: 9.992 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001978/1.185, allocations: 0.861 MB / 1.323 GB, free: 9.121 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/1.185, allocations: 8 kB / 1.323 GB, free: 9.113 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/1.185, allocations: 0 / 1.323 GB, free: 9.113 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001627/1.187, allocations: 0.8095 MB / 1.324 GB, free: 8.254 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004889/1.192, allocations: 2.069 MB / 1.326 GB, free: 6.125 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/1.192, allocations: 4 kB / 1.326 GB, free: 6.121 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000849/1.193, allocations: 184 kB / 1.326 GB, free: 5.941 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.658e-05/1.193, allocations: 11.94 kB / 1.326 GB, free: 5.93 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.044e-05/1.193, allocations: 15.98 kB / 1.326 GB, free: 5.914 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.898e-06/1.193, allocations: 8 kB / 1.326 GB, free: 5.906 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.193, allocations: 0 / 1.326 GB, free: 5.906 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002875/1.195, allocations: 1.336 MB / 1.328 GB, free: 4.527 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007982/1.196, allocations: 258.7 kB / 1.328 GB, free: 4.273 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003458/1.197, allocations: 15.94 kB / 1.328 GB, free: 4.258 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/1.198, allocations: 63.86 kB / 1.328 GB, free: 4.195 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/1.198, allocations: 52.36 kB / 1.328 GB, free: 4.145 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.001e-05/1.198, allocations: 31.97 kB / 1.328 GB, free: 4.113 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001698/1.2, allocations: 1.025 MB / 1.329 GB, free: 3.098 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.2e-07/1.2, allocations: 4 kB / 1.329 GB, free: 3.094 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002419/1.202, allocations: 0.6896 MB / 1.33 GB, free: 2.402 MB / 1.17 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.001225/1.203, allocations: 0.5962 MB / 1.33 GB, free: 1.801 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001903/1.205, allocations: 0.7815 MB / 1.331 GB, free: 1.023 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/1.205, allocations: 0 / 1.331 GB, free: 1.023 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0007507/1.206, allocations: 338.6 kB / 1.331 GB, free: 0.6953 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004327/1.21, allocations: 0.9191 MB / 1.332 GB, free: 15.8 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005385/1.216, allocations: 3.078 MB / 1.335 GB, free: 12.66 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/1.217, allocations: 0.8307 MB / 1.336 GB, free: 11.79 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.00128/1.218, allocations: 324.7 kB / 1.336 GB, free: 11.47 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002978/1.218, allocations: 140.4 kB / 1.337 GB, free: 11.34 MB / 1.186 GB Notification: Performance of SimCode: time 8.32e-07/1.218, allocations: 0 / 1.337 GB, free: 11.34 MB / 1.186 GB Notification: Performance of Templates: time 0.06655/1.285, allocations: 36.41 MB / 1.372 GB, free: 7.637 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.468560373061337]