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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.865/2.865, allocations: 496.2 MB / 0.7819 GB, free: 12.38 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 63.91 kB / 1.136 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.227/1.229, allocations: 173.6 MB / 1.305 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.09644/1.326, allocations: 78.59 MB / 1.382 GB, free: 2.824 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.03612/1.362, allocations: 18.97 MB / 1.401 GB, free: 3.324 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007041/1.369, allocations: 109.9 kB / 1.401 GB, free: 3.285 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.005452/1.374, allocations: 1.296 MB / 1.402 GB, free: 2.191 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01426/1.388, allocations: 3.822 MB / 1.406 GB, free: 14.64 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.007765/1.396, allocations: 2.131 MB / 1.408 GB, free: 12.53 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01275/1.409, allocations: 6.711 MB / 1.414 GB, free: 5.797 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003362/1.412, allocations: 1.594 MB / 1.416 GB, free: 4.156 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007753/1.42, allocations: 2.678 MB / 1.419 GB, free: 1.48 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004335/1.424, allocations: 1.844 MB / 1.42 GB, free: 15.63 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0007427/1.425, allocations: 200 kB / 1.421 GB, free: 15.43 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006309/1.431, allocations: 1.653 MB / 1.422 GB, free: 13.78 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001152/1.433, allocations: 0.5679 MB / 1.423 GB, free: 13.21 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.003009/1.436, allocations: 1.26 MB / 1.424 GB, free: 11.94 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.008503/1.444, allocations: 3.744 MB / 1.428 GB, free: 8.188 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/1.444, allocations: 0 / 1.428 GB, free: 8.188 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.683e-06/1.444, allocations: 4 kB / 1.428 GB, free: 8.184 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.529e-05/1.444, allocations: 0 / 1.428 GB, free: 8.184 MB / 1.107 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.005621/1.45, allocations: 2.786 MB / 1.43 GB, free: 5.328 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/1.45, allocations: 8.031 kB / 1.43 GB, free: 5.32 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008291/1.451, allocations: 283.3 kB / 1.431 GB, free: 5.043 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003706/1.454, allocations: 2.04 MB / 1.433 GB, free: 2.957 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.538e-05/1.454, allocations: 110.6 kB / 1.433 GB, free: 2.848 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002223/1.455, allocations: 144 kB / 1.433 GB, free: 2.707 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002863/1.458, allocations: 1.516 MB / 1.434 GB, free: 1.113 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.826e-05/1.458, allocations: 7.938 kB / 1.434 GB, free: 1.105 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/1.458, allocations: 56 kB / 1.434 GB, free: 1.051 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.877e-05/1.458, allocations: 40 kB / 1.434 GB, free: 1.012 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002365/1.46, allocations: 1.126 MB / 1.436 GB, free: 15.88 MB / 1.123 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.01136/1.472, allocations: 7.929 MB / 1.443 GB, free: 7.301 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/1.473, allocations: 452.5 kB / 1.444 GB, free: 6.848 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001019/1.474, allocations: 306.3 kB / 1.444 GB, free: 6.547 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001569/1.476, allocations: 1.152 MB / 1.445 GB, free: 5.137 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.158e-05/1.476, allocations: 47.06 kB / 1.445 GB, free: 5.082 MB / 1.123 GB Notification: Performance of pre-optimization done (n=59): time 6.723e-06/1.476, allocations: 3.984 kB / 1.445 GB, free: 5.078 MB / 1.123 GB Notification: Performance of matching and sorting (n=59): time 0.00391/1.48, allocations: 0.974 MB / 1.446 GB, free: 4.102 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/1.48, allocations: 55.97 kB / 1.446 GB, free: 4.035 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004307/1.484, allocations: 1.795 MB / 1.448 GB, free: 2.203 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001872/1.484, allocations: 41.7 kB / 1.448 GB, free: 2.156 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.00136/1.486, allocations: 0.9412 MB / 1.449 GB, free: 1.207 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004114/1.486, allocations: 226.1 kB / 1.449 GB, free: 0.9844 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005024/1.486, allocations: 234.8 kB / 1.449 GB, free: 0.75 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002294/1.487, allocations: 345.9 kB / 1.45 GB, free: 416 kB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/1.488, allocations: 334.4 kB / 1.45 GB, free: 80 kB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001705/1.49, allocations: 0.6822 MB / 1.451 GB, free: 15.24 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002672/1.492, allocations: 1.016 MB / 1.452 GB, free: 14.09 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.349e-05/1.492, allocations: 4 kB / 1.452 GB, free: 14.09 MB / 1.139 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.004262/1.497, allocations: 1.222 MB / 1.453 GB, free: 12.85 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.727e-05/1.497, allocations: 12.81 kB / 1.453 GB, free: 12.84 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.551e-05/1.497, allocations: 12 kB / 1.453 GB, free: 12.83 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.351e-05/1.497, allocations: 16 kB / 1.453 GB, free: 12.81 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001664/1.498, allocations: 291.5 kB / 1.453 GB, free: 12.53 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.752e-05/1.498, allocations: 23.92 kB / 1.453 GB, free: 12.5 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002142/1.5, allocations: 166.9 kB / 1.453 GB, free: 12.34 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/1.501, allocations: 55.98 kB / 1.453 GB, free: 12.29 MB / 1.139 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.001225/1.502, allocations: 441.9 kB / 1.454 GB, free: 11.84 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007029/1.503, allocations: 202.7 kB / 1.454 GB, free: 11.64 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00288/1.505, allocations: 0.8572 MB / 1.455 GB, free: 10.77 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.403e-05/1.505, allocations: 8 kB / 1.455 GB, free: 10.77 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/1.505, allocations: 4 kB / 1.455 GB, free: 10.76 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002198/1.508, allocations: 0.7957 MB / 1.456 GB, free: 9.922 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007021/1.515, allocations: 2.451 MB / 1.458 GB, free: 7.383 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/1.515, allocations: 7.938 kB / 1.458 GB, free: 7.375 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/1.516, allocations: 175.7 kB / 1.458 GB, free: 7.203 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.879e-05/1.516, allocations: 11.94 kB / 1.458 GB, free: 7.191 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-05/1.516, allocations: 20.17 kB / 1.458 GB, free: 7.172 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.399e-05/1.516, allocations: 8 kB / 1.458 GB, free: 7.164 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.972e-06/1.516, allocations: 3.938 kB / 1.458 GB, free: 7.16 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004282/1.52, allocations: 1.345 MB / 1.46 GB, free: 5.77 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/1.522, allocations: 375.5 kB / 1.46 GB, free: 5.383 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005262/1.522, allocations: 12 kB / 1.46 GB, free: 5.371 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001782/1.524, allocations: 67.86 kB / 1.46 GB, free: 5.305 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/1.524, allocations: 52.44 kB / 1.46 GB, free: 5.254 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001336/1.524, allocations: 35.97 kB / 1.46 GB, free: 5.219 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.003352/1.528, allocations: 1.239 MB / 1.461 GB, free: 3.961 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.51e-07/1.528, allocations: 0 / 1.461 GB, free: 3.961 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.003123/1.531, allocations: 0.6664 MB / 1.462 GB, free: 3.293 MB / 1.139 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.001941/1.533, allocations: 0.6128 MB / 1.463 GB, free: 2.688 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002768/1.535, allocations: 0.7844 MB / 1.463 GB, free: 1.91 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/1.535, allocations: 0 / 1.463 GB, free: 1.91 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001105/1.536, allocations: 336.4 kB / 1.464 GB, free: 1.582 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008258/1.545, allocations: 1.2 MB / 1.465 GB, free: 412 kB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006745/1.551, allocations: 3.12 MB / 1.468 GB, free: 13.21 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001622/1.553, allocations: 1.405 MB / 1.469 GB, free: 11.78 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.002138/1.555, allocations: 383.4 kB / 1.47 GB, free: 11.41 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005785/1.556, allocations: 147.4 kB / 1.47 GB, free: 11.26 MB / 1.154 GB Notification: Performance of SimCode: time 1.783e-06/1.556, allocations: 3.938 kB / 1.47 GB, free: 11.26 MB / 1.154 GB Notification: Performance of Templates: time 0.08725/1.643, allocations: 42.51 MB / 1.511 GB, free: 1.211 MB / 1.186 GB " [Timeout remaining time 298] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins/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: 11.123024825006723]