Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001957/0.001957, allocations: 104.6 kB / 18.84 MB, free: 3.023 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.002582/0.002582, allocations: 189.2 kB / 22.1 MB, free: 4.227 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.493/1.493, allocations: 225.6 MB / 250.8 MB, free: 2.906 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.04/3.04, allocations: 495.8 MB / 0.7831 GB, free: 12.33 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_12_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_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002129/0.002129, allocations: 71.89 kB / 1.137 GB, free: 12.24 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.019/1.021, allocations: 173.6 MB / 1.307 GB, free: 33.78 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07932/1.1, allocations: 77.78 MB / 1.383 GB, free: 10.65 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.04078/1.141, allocations: 18.85 MB / 1.401 GB, free: 13.15 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006986/1.148, allocations: 152.4 kB / 1.401 GB, free: 13.07 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.006271/1.154, allocations: 1.3 MB / 1.403 GB, free: 12.3 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01803/1.172, allocations: 3.892 MB / 1.406 GB, free: 10 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.009625/1.182, allocations: 2.197 MB / 1.408 GB, free: 8.734 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01581/1.198, allocations: 6.846 MB / 1.415 GB, free: 5.379 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005122/1.203, allocations: 1.585 MB / 1.417 GB, free: 4.531 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01065/1.214, allocations: 2.714 MB / 1.419 GB, free: 3.234 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005502/1.219, allocations: 1.826 MB / 1.421 GB, free: 2.426 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.00128/1.22, allocations: 199.2 kB / 1.421 GB, free: 2.426 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00634/1.227, allocations: 1.328 MB / 1.423 GB, free: 1.957 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001638/1.228, allocations: 0.5662 MB / 1.423 GB, free: 1.598 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.004381/1.233, allocations: 1.26 MB / 1.424 GB, free: 0.8242 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01156/1.244, allocations: 3.692 MB / 1.428 GB, free: 15.42 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.244, allocations: 1.469 kB / 1.428 GB, free: 15.42 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.262e-06/1.244, allocations: 0 / 1.428 GB, free: 15.42 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.000147/1.244, allocations: 0 / 1.428 GB, free: 15.42 MB / 1.123 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.009687/1.254, allocations: 2.717 MB / 1.431 GB, free: 13.7 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/1.254, allocations: 10.05 kB / 1.431 GB, free: 13.7 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001587/1.256, allocations: 277.1 kB / 1.431 GB, free: 13.57 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006047/1.262, allocations: 1.958 MB / 1.433 GB, free: 12.49 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001731/1.262, allocations: 114 kB / 1.433 GB, free: 12.43 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005787/1.263, allocations: 139.1 kB / 1.433 GB, free: 12.39 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004944/1.267, allocations: 1.514 MB / 1.435 GB, free: 11.59 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.172e-05/1.268, allocations: 3 kB / 1.435 GB, free: 11.59 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002962/1.268, allocations: 57.41 kB / 1.435 GB, free: 11.54 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.538e-05/1.268, allocations: 43.45 kB / 1.435 GB, free: 11.54 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003324/1.271, allocations: 1.125 MB / 1.436 GB, free: 10.97 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.01359/1.285, allocations: 7.831 MB / 1.443 GB, free: 3.785 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/1.286, allocations: 439.3 kB / 1.444 GB, free: 3.566 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006987/1.287, allocations: 316.1 kB / 1.444 GB, free: 3.41 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004517/1.287, allocations: 110.6 kB / 1.444 GB, free: 3.367 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.932e-05/1.287, allocations: 40.31 kB / 1.444 GB, free: 3.324 MB / 1.123 GB Notification: Performance of pre-optimization done (n=59): time 2.836e-06/1.287, allocations: 0 / 1.444 GB, free: 3.324 MB / 1.123 GB Notification: Performance of matching and sorting (n=59): time 0.002944/1.29, allocations: 0.9667 MB / 1.445 GB, free: 2.848 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.538e-05/1.29, allocations: 61.53 kB / 1.445 GB, free: 2.781 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004295/1.294, allocations: 1.796 MB / 1.447 GB, free: 1.789 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001865/1.295, allocations: 39.48 kB / 1.447 GB, free: 1.75 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001149/1.296, allocations: 0.9445 MB / 1.448 GB, free: 0.9141 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003866/1.296, allocations: 230.4 kB / 1.448 GB, free: 0.7148 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004554/1.297, allocations: 230.6 kB / 1.448 GB, free: 0.5781 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000183/1.297, allocations: 354.7 kB / 1.449 GB, free: 240 kB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00079/1.298, allocations: 335.6 kB / 1.449 GB, free: 76 kB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/1.299, allocations: 0.6877 MB / 1.45 GB, free: 15.45 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001975/1.301, allocations: 1.011 MB / 1.451 GB, free: 14.68 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-05/1.301, allocations: 2.531 kB / 1.451 GB, free: 14.68 MB / 1.139 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.003041/1.304, allocations: 1.23 MB / 1.452 GB, free: 14.06 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/1.304, allocations: 9.219 kB / 1.452 GB, free: 14.06 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.686e-05/1.304, allocations: 18.03 kB / 1.452 GB, free: 14.05 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.461e-05/1.304, allocations: 16.44 kB / 1.452 GB, free: 14.05 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/1.305, allocations: 283.6 kB / 1.452 GB, free: 13.98 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.458e-05/1.305, allocations: 23.86 kB / 1.452 GB, free: 13.97 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/1.307, allocations: 165 kB / 1.452 GB, free: 13.86 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001383/1.307, allocations: 48.66 kB / 1.453 GB, free: 13.86 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.0009891/1.308, allocations: 447.7 kB / 1.453 GB, free: 13.53 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000722/1.309, allocations: 201 kB / 1.453 GB, free: 13.43 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002314/1.311, allocations: 0.8778 MB / 1.454 GB, free: 12.94 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-05/1.311, allocations: 11.36 kB / 1.454 GB, free: 12.93 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/1.311, allocations: 0 / 1.454 GB, free: 12.93 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001592/1.313, allocations: 0.8046 MB / 1.455 GB, free: 12.41 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006428/1.319, allocations: 2.431 MB / 1.457 GB, free: 10.73 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/1.319, allocations: 6.25 kB / 1.457 GB, free: 10.72 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007965/1.32, allocations: 170.5 kB / 1.457 GB, free: 10.68 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-05/1.32, allocations: 12.36 kB / 1.457 GB, free: 10.67 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.504e-05/1.32, allocations: 19.16 kB / 1.457 GB, free: 10.66 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-05/1.32, allocations: 8.875 kB / 1.457 GB, free: 10.66 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/1.32, allocations: 6.219 kB / 1.457 GB, free: 10.65 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003391/1.323, allocations: 1.361 MB / 1.459 GB, free: 9.844 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001321/1.325, allocations: 298.5 kB / 1.459 GB, free: 9.621 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007651/1.325, allocations: 17.69 kB / 1.459 GB, free: 9.609 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001624/1.327, allocations: 65.44 kB / 1.459 GB, free: 9.574 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/1.327, allocations: 46.27 kB / 1.459 GB, free: 9.547 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001324/1.327, allocations: 38.94 kB / 1.459 GB, free: 9.531 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.002883/1.33, allocations: 1.245 MB / 1.46 GB, free: 8.844 MB / 1.139 GB Notification: Performance of sort global known variables: time 9.1e-08/1.33, allocations: 0 / 1.46 GB, free: 8.844 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.003168/1.333, allocations: 0.6635 MB / 1.461 GB, free: 8.676 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.001861/1.335, allocations: 0.6122 MB / 1.462 GB, free: 8.348 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002178/1.337, allocations: 0.7845 MB / 1.462 GB, free: 8.004 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.337, allocations: 1.094 kB / 1.462 GB, free: 8.004 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0008455/1.338, allocations: 343.4 kB / 1.463 GB, free: 7.816 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006668/1.345, allocations: 1.203 MB / 1.464 GB, free: 6.633 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006751/1.352, allocations: 3.113 MB / 1.467 GB, free: 3.453 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001575/1.353, allocations: 1.409 MB / 1.468 GB, free: 2.012 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.002129/1.355, allocations: 378.9 kB / 1.469 GB, free: 1.645 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005287/1.356, allocations: 151.4 kB / 1.469 GB, free: 1.496 MB / 1.139 GB Notification: Performance of SimCode: time 1.413e-06/1.356, allocations: 0 / 1.469 GB, free: 1.496 MB / 1.139 GB Notification: Performance of Templates: time 0.08788/1.444, allocations: 42.81 MB / 1.511 GB, free: 7.211 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.472776268608868]