Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001299/0.001299, allocations: 112.8 kB / 17.08 MB, free: 6.012 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.001311/0.001311, allocations: 193.2 kB / 20.03 MB, free: 3.082 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.41/1.41, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.664/2.664, allocations: 437.1 MB / 0.7177 GB, free: 4.523 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 71.89 kB / 1.028 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3183, allocations: 151.6 MB / 1.176 GB, free: 5.898 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08511/0.4035, allocations: 77.18 MB / 1.251 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6475/1.051, allocations: 18.87 MB / 1.27 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004988/1.056, allocations: 111.8 kB / 1.27 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00426/1.06, allocations: 1.254 MB / 1.271 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01279/1.073, allocations: 3.628 MB / 1.275 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006634/1.08, allocations: 2.095 MB / 1.277 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01391/1.094, allocations: 6.679 MB / 1.283 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004296/1.098, allocations: 2.086 MB / 1.285 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007431/1.106, allocations: 2.311 MB / 1.287 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004505/1.11, allocations: 1.768 MB / 1.289 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008284/1.111, allocations: 198.3 kB / 1.289 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006347/1.117, allocations: 1.615 MB / 1.291 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001269/1.119, allocations: 0.5385 MB / 1.291 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003408/1.122, allocations: 1.247 MB / 1.293 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01033/1.132, allocations: 3.741 MB / 1.296 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/1.132, allocations: 2.094 kB / 1.296 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.465e-06/1.132, allocations: 3.938 kB / 1.296 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001166/1.133, allocations: 4 kB / 1.296 GB, free: 3.094 MB / 0.9981 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.007766/1.14, allocations: 2.782 MB / 1.299 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/1.14, allocations: 8.781 kB / 1.299 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/1.142, allocations: 276.2 kB / 1.299 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004389/1.146, allocations: 2.042 MB / 1.301 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.981e-05/1.146, allocations: 108.2 kB / 1.301 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002414/1.146, allocations: 143.5 kB / 1.302 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003452/1.15, allocations: 1.526 MB / 1.303 GB, free: 15.91 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.37e-05/1.15, allocations: 6.969 kB / 1.303 GB, free: 15.91 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001586/1.15, allocations: 58.38 kB / 1.303 GB, free: 15.87 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.336e-05/1.15, allocations: 40.88 kB / 1.303 GB, free: 15.86 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002742/1.153, allocations: 1.127 MB / 1.304 GB, free: 15.47 MB / 1.014 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.01243/1.165, allocations: 7.614 MB / 1.312 GB, free: 9.746 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/1.166, allocations: 494.6 kB / 1.312 GB, free: 9.566 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007241/1.167, allocations: 327.4 kB / 1.312 GB, free: 9.465 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001092/1.168, allocations: 1.157 MB / 1.314 GB, free: 8.129 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.55e-05/1.168, allocations: 40.5 kB / 1.314 GB, free: 8.086 MB / 1.014 GB Notification: Performance of pre-optimization done (n=59): time 2.745e-06/1.168, allocations: 0 / 1.314 GB, free: 8.086 MB / 1.014 GB Notification: Performance of matching and sorting (n=59): time 0.002776/1.171, allocations: 0.973 MB / 1.315 GB, free: 7.727 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/1.171, allocations: 57.72 kB / 1.315 GB, free: 7.664 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003167/1.174, allocations: 1.793 MB / 1.316 GB, free: 6.941 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000225/1.175, allocations: 43.61 kB / 1.316 GB, free: 6.898 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009244/1.176, allocations: 0.9466 MB / 1.317 GB, free: 6.152 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003442/1.176, allocations: 224.7 kB / 1.318 GB, free: 5.98 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003539/1.176, allocations: 223.5 kB / 1.318 GB, free: 5.871 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001933/1.176, allocations: 349 kB / 1.318 GB, free: 5.547 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000846/1.177, allocations: 332.3 kB / 1.318 GB, free: 5.441 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/1.178, allocations: 0.6828 MB / 1.319 GB, free: 4.902 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001837/1.18, allocations: 1.017 MB / 1.32 GB, free: 4.211 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.417e-06/1.18, allocations: 2.25 kB / 1.32 GB, free: 4.211 MB / 1.014 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002802/1.183, allocations: 1.228 MB / 1.321 GB, free: 3.727 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/1.183, allocations: 8.5 kB / 1.321 GB, free: 3.727 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/1.183, allocations: 11.25 kB / 1.321 GB, free: 3.727 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.509e-05/1.183, allocations: 15.5 kB / 1.321 GB, free: 3.727 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/1.184, allocations: 289.8 kB / 1.322 GB, free: 3.699 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.888e-05/1.184, allocations: 26.22 kB / 1.322 GB, free: 3.691 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/1.186, allocations: 168.2 kB / 1.322 GB, free: 3.594 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/1.186, allocations: 54.94 kB / 1.322 GB, free: 3.582 MB / 1.014 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.001009/1.187, allocations: 441.7 kB / 1.322 GB, free: 3.281 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006272/1.188, allocations: 205.2 kB / 1.322 GB, free: 3.172 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002094/1.19, allocations: 0.8609 MB / 1.323 GB, free: 2.84 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/1.19, allocations: 10.02 kB / 1.323 GB, free: 2.84 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/1.19, allocations: 0 / 1.323 GB, free: 2.84 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00144/1.191, allocations: 0.7951 MB / 1.324 GB, free: 2.398 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005804/1.197, allocations: 2.451 MB / 1.326 GB, free: 1.238 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/1.197, allocations: 6.562 kB / 1.326 GB, free: 1.234 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007825/1.198, allocations: 178.4 kB / 1.327 GB, free: 1.223 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.25e-05/1.198, allocations: 10.77 kB / 1.327 GB, free: 1.219 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.083e-05/1.198, allocations: 19.41 kB / 1.327 GB, free: 1.207 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.256e-06/1.198, allocations: 4.531 kB / 1.327 GB, free: 1.207 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/1.198, allocations: 6.656 kB / 1.327 GB, free: 1.203 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003084/1.201, allocations: 1.343 MB / 1.328 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001226/1.202, allocations: 374.1 kB / 1.328 GB, free: 284 kB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003743/1.203, allocations: 17.56 kB / 1.328 GB, free: 276 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/1.204, allocations: 66.16 kB / 1.328 GB, free: 260 kB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/1.204, allocations: 55.2 kB / 1.328 GB, free: 244 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.906e-05/1.204, allocations: 36.08 kB / 1.328 GB, free: 236 kB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002403/1.207, allocations: 1.259 MB / 1.33 GB, free: 15.8 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.81e-07/1.207, allocations: 0 / 1.33 GB, free: 15.8 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002776/1.209, allocations: 0.6541 MB / 1.33 GB, free: 15.66 MB / 1.029 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.001544/1.211, allocations: 0.6247 MB / 1.331 GB, free: 15.41 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001995/1.213, allocations: 0.819 MB / 1.332 GB, free: 15.16 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 8.076e-06/1.213, allocations: 5.125 kB / 1.332 GB, free: 15.16 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007648/1.214, allocations: 354.7 kB / 1.332 GB, free: 15.05 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007091/1.221, allocations: 1.205 MB / 1.333 GB, free: 14.67 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006095/1.227, allocations: 3.144 MB / 1.336 GB, free: 12.95 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/1.228, allocations: 1.391 MB / 1.338 GB, free: 12.17 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006319/1.229, allocations: 155.5 kB / 1.338 GB, free: 12.16 MB / 1.029 GB Notification: Performance of SimCode: time 7.21e-07/1.229, allocations: 1.375 kB / 1.338 GB, free: 12.16 MB / 1.029 GB Notification: Performance of Templates: time 0.05868/1.287, allocations: 35.05 MB / 1.372 GB, free: 5.441 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 18.415627072914504]