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.001591/0.001591, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.001863/0.001863, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.496/1.496, allocations: 225.6 MB / 249.4 MB, free: 3.289 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.604/2.604, allocations: 443.4 MB / 0.7304 GB, free: 13.9 MB / 0.5762 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.003107/0.003107, allocations: 63.91 kB / 1.059 GB, free: 428 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3816, allocations: 160.7 MB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.7939/1.175, allocations: 78.45 MB / 1.293 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04781/1.223, allocations: 18.97 MB / 1.311 GB, free: 13.3 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006149/1.229, allocations: 108.4 kB / 1.311 GB, free: 13.27 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.007159/1.237, allocations: 1.304 MB / 1.313 GB, free: 12.49 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.02075/1.257, allocations: 3.819 MB / 1.316 GB, free: 10.23 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.007959/1.265, allocations: 2.122 MB / 1.318 GB, free: 9.039 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01353/1.279, allocations: 6.702 MB / 1.325 GB, free: 5.805 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004293/1.283, allocations: 1.593 MB / 1.327 GB, free: 4.961 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007674/1.291, allocations: 2.389 MB / 1.329 GB, free: 3.844 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005626/1.296, allocations: 1.857 MB / 1.331 GB, free: 3.023 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.00103/1.297, allocations: 198.4 kB / 1.331 GB, free: 3.023 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006666/1.304, allocations: 1.667 MB / 1.333 GB, free: 2.359 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001461/1.306, allocations: 0.5615 MB / 1.333 GB, free: 2.004 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.004263/1.31, allocations: 1.257 MB / 1.334 GB, free: 1.234 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01569/1.326, allocations: 3.744 MB / 1.338 GB, free: 15.81 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/1.326, allocations: 0 / 1.338 GB, free: 15.81 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.044e-06/1.326, allocations: 0 / 1.338 GB, free: 15.81 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001569/1.326, allocations: 5.031 kB / 1.338 GB, free: 15.8 MB / 1.029 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.009541/1.335, allocations: 2.78 MB / 1.341 GB, free: 14.01 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/1.335, allocations: 16.08 kB / 1.341 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001663/1.337, allocations: 274.4 kB / 1.341 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005593/1.343, allocations: 2.058 MB / 1.343 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001502/1.343, allocations: 105.1 kB / 1.343 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005149/1.343, allocations: 139.2 kB / 1.343 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004093/1.347, allocations: 1.52 MB / 1.345 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.615e-05/1.347, allocations: 5.312 kB / 1.345 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002379/1.348, allocations: 57.72 kB / 1.345 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.577e-05/1.348, allocations: 42.36 kB / 1.345 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00278/1.35, allocations: 1.125 MB / 1.346 GB, free: 11.48 MB / 1.029 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.01394/1.364, allocations: 7.616 MB / 1.353 GB, free: 5.695 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/1.366, allocations: 450.8 kB / 1.354 GB, free: 5.492 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007056/1.366, allocations: 304.2 kB / 1.354 GB, free: 5.348 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00119/1.368, allocations: 1.156 MB / 1.355 GB, free: 3.988 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.71e-05/1.368, allocations: 39.41 kB / 1.355 GB, free: 3.945 MB / 1.029 GB Notification: Performance of pre-optimization done (n=59): time 2.946e-06/1.368, allocations: 0 / 1.355 GB, free: 3.945 MB / 1.029 GB Notification: Performance of matching and sorting (n=59): time 0.003123/1.371, allocations: 0.977 MB / 1.356 GB, free: 3.457 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/1.371, allocations: 57.78 kB / 1.356 GB, free: 3.395 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004291/1.375, allocations: 1.788 MB / 1.358 GB, free: 2.402 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002703/1.375, allocations: 39.67 kB / 1.358 GB, free: 2.363 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001356/1.377, allocations: 0.9512 MB / 1.359 GB, free: 1.52 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004566/1.377, allocations: 227.9 kB / 1.359 GB, free: 1.324 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005534/1.378, allocations: 225.4 kB / 1.359 GB, free: 1.191 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002251/1.378, allocations: 355.4 kB / 1.36 GB, free: 0.8477 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009312/1.379, allocations: 329.9 kB / 1.36 GB, free: 0.6914 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001302/1.38, allocations: 0.6872 MB / 1.361 GB, free: 72 kB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002043/1.382, allocations: 1.012 MB / 1.362 GB, free: 15.29 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-05/1.382, allocations: 7.062 kB / 1.362 GB, free: 15.29 MB / 1.045 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.003354/1.386, allocations: 1.219 MB / 1.363 GB, free: 14.68 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/1.386, allocations: 8.281 kB / 1.363 GB, free: 14.68 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/1.386, allocations: 10.41 kB / 1.363 GB, free: 14.68 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.02e-05/1.386, allocations: 15.59 kB / 1.363 GB, free: 14.68 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/1.387, allocations: 292.9 kB / 1.363 GB, free: 14.6 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.954e-05/1.387, allocations: 27.17 kB / 1.363 GB, free: 14.59 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001966/1.389, allocations: 169.8 kB / 1.363 GB, free: 14.48 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/1.389, allocations: 48.53 kB / 1.363 GB, free: 14.47 MB / 1.045 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.001124/1.39, allocations: 447.9 kB / 1.364 GB, free: 14.14 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008749/1.391, allocations: 200 kB / 1.364 GB, free: 14.04 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002406/1.393, allocations: 0.8619 MB / 1.365 GB, free: 13.55 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.991e-05/1.393, allocations: 6.656 kB / 1.365 GB, free: 13.55 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/1.393, allocations: 3.984 kB / 1.365 GB, free: 13.55 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001509/1.395, allocations: 0.7917 MB / 1.366 GB, free: 13.03 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006352/1.401, allocations: 2.446 MB / 1.368 GB, free: 11.31 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/1.401, allocations: 2.531 kB / 1.368 GB, free: 11.31 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008279/1.402, allocations: 191.1 kB / 1.368 GB, free: 11.25 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-05/1.402, allocations: 4.344 kB / 1.368 GB, free: 11.25 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.986e-05/1.402, allocations: 19.33 kB / 1.368 GB, free: 11.24 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.478e-06/1.402, allocations: 5.062 kB / 1.368 GB, free: 11.24 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/1.402, allocations: 6.938 kB / 1.368 GB, free: 11.23 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003137/1.405, allocations: 1.35 MB / 1.37 GB, free: 10.42 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001209/1.407, allocations: 376.1 kB / 1.37 GB, free: 10.11 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008318/1.407, allocations: 17.5 kB / 1.37 GB, free: 10.09 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001947/1.409, allocations: 57.48 kB / 1.37 GB, free: 10.07 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001954/1.41, allocations: 55.81 kB / 1.37 GB, free: 10.04 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001881/1.41, allocations: 38.38 kB / 1.37 GB, free: 10.02 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.003251/1.413, allocations: 1.239 MB / 1.371 GB, free: 9.332 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/1.413, allocations: 0 / 1.371 GB, free: 9.332 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.003365/1.416, allocations: 0.655 MB / 1.372 GB, free: 9.172 MB / 1.045 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.001978/1.418, allocations: 0.6282 MB / 1.373 GB, free: 8.832 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002078/1.42, allocations: 0.7814 MB / 1.373 GB, free: 8.492 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/1.42, allocations: 0 / 1.373 GB, free: 8.492 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0007966/1.421, allocations: 335.7 kB / 1.374 GB, free: 8.34 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007134/1.428, allocations: 1.195 MB / 1.375 GB, free: 7.715 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007024/1.435, allocations: 3.125 MB / 1.378 GB, free: 5.773 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001615/1.437, allocations: 1.404 MB / 1.379 GB, free: 4.734 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.002319/1.439, allocations: 387.1 kB / 1.38 GB, free: 4.555 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006359/1.44, allocations: 147.4 kB / 1.38 GB, free: 4.531 MB / 1.045 GB Notification: Performance of SimCode: time 2.464e-06/1.44, allocations: 0 / 1.38 GB, free: 4.531 MB / 1.045 GB Notification: Performance of Templates: time 0.08205/1.522, allocations: 42.51 MB / 1.421 GB, free: 13.23 MB / 1.092 GB " [Timeout remaining time 298] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.750756410881877]