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.001639/0.001639, allocations: 112.5 kB / 17.13 MB, free: 5.914 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.001852/0.001852, allocations: 198 kB / 20.08 MB, free: 2.977 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.438/1.438, allocations: 225.6 MB / 248.5 MB, free: 3.621 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.548/2.548, allocations: 443.5 MB / 0.7293 GB, free: 14.49 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.002225/0.002225, allocations: 67.89 kB / 1.057 GB, free: 1.941 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3319, allocations: 160.7 MB / 1.214 GB, free: 0.9062 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.7717/1.104, allocations: 77.73 MB / 1.29 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02712/1.131, allocations: 18.91 MB / 1.308 GB, free: 14.84 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005616/1.136, allocations: 117.2 kB / 1.309 GB, free: 14.79 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004557/1.141, allocations: 1.298 MB / 1.31 GB, free: 14.02 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01292/1.154, allocations: 3.822 MB / 1.314 GB, free: 11.76 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006865/1.161, allocations: 2.104 MB / 1.316 GB, free: 10.58 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01257/1.173, allocations: 6.681 MB / 1.322 GB, free: 7.367 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003644/1.177, allocations: 1.704 MB / 1.324 GB, free: 6.496 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006841/1.184, allocations: 2.368 MB / 1.326 GB, free: 5.395 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004675/1.188, allocations: 1.856 MB / 1.328 GB, free: 4.578 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0007097/1.189, allocations: 199.2 kB / 1.328 GB, free: 4.578 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006384/1.196, allocations: 1.67 MB / 1.33 GB, free: 3.91 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001296/1.197, allocations: 0.5692 MB / 1.33 GB, free: 3.547 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003249/1.2, allocations: 1.249 MB / 1.332 GB, free: 2.785 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.009438/1.21, allocations: 3.747 MB / 1.335 GB, free: 1.355 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/1.21, allocations: 0 / 1.335 GB, free: 1.355 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.733e-06/1.21, allocations: 0 / 1.335 GB, free: 1.355 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001095/1.21, allocations: 1.672 kB / 1.335 GB, free: 1.355 MB / 1.014 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.006613/1.216, allocations: 2.79 MB / 1.338 GB, free: 15.55 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/1.216, allocations: 9.781 kB / 1.338 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/1.217, allocations: 278 kB / 1.338 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004318/1.222, allocations: 2.043 MB / 1.34 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/1.222, allocations: 109.8 kB / 1.34 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002286/1.222, allocations: 140.4 kB / 1.34 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002963/1.225, allocations: 1.516 MB / 1.342 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.132e-05/1.225, allocations: 10.48 kB / 1.342 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/1.225, allocations: 57.69 kB / 1.342 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.468e-05/1.225, allocations: 45.03 kB / 1.342 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002374/1.228, allocations: 1.127 MB / 1.343 GB, free: 13.04 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.01064/1.238, allocations: 7.609 MB / 1.351 GB, free: 7.25 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/1.239, allocations: 458 kB / 1.351 GB, free: 7.082 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006383/1.24, allocations: 308.3 kB / 1.351 GB, free: 6.984 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001013/1.241, allocations: 1.151 MB / 1.352 GB, free: 5.652 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.518e-05/1.241, allocations: 39.56 kB / 1.352 GB, free: 5.609 MB / 1.029 GB Notification: Performance of pre-optimization done (n=59): time 3.376e-06/1.241, allocations: 0 / 1.352 GB, free: 5.609 MB / 1.029 GB Notification: Performance of matching and sorting (n=59): time 0.002664/1.244, allocations: 0.9732 MB / 1.353 GB, free: 5.152 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/1.244, allocations: 66.88 kB / 1.353 GB, free: 5.082 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00263/1.246, allocations: 1.795 MB / 1.355 GB, free: 4.082 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001283/1.246, allocations: 39.33 kB / 1.355 GB, free: 4.043 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000908/1.247, allocations: 0.9482 MB / 1.356 GB, free: 3.203 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002815/1.248, allocations: 223.5 kB / 1.356 GB, free: 3.012 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003391/1.248, allocations: 230.5 kB / 1.357 GB, free: 2.875 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000162/1.248, allocations: 342.9 kB / 1.357 GB, free: 2.543 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007397/1.249, allocations: 336.8 kB / 1.357 GB, free: 2.379 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/1.25, allocations: 0.6834 MB / 1.358 GB, free: 1.762 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001803/1.252, allocations: 1.011 MB / 1.359 GB, free: 0.9922 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/1.252, allocations: 3.281 kB / 1.359 GB, free: 0.9922 MB / 1.029 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002899/1.255, allocations: 1.23 MB / 1.36 GB, free: 376 kB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.185e-05/1.255, allocations: 13 kB / 1.36 GB, free: 372 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.083e-05/1.255, allocations: 10.31 kB / 1.36 GB, free: 372 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.514e-05/1.255, allocations: 16.06 kB / 1.36 GB, free: 372 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/1.256, allocations: 288.3 kB / 1.36 GB, free: 296 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.799e-05/1.256, allocations: 19.09 kB / 1.36 GB, free: 292 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001986/1.258, allocations: 173.2 kB / 1.361 GB, free: 172 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/1.258, allocations: 56.56 kB / 1.361 GB, free: 156 kB / 1.029 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.001075/1.259, allocations: 443.7 kB / 1.361 GB, free: 15.83 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000692/1.26, allocations: 205.4 kB / 1.361 GB, free: 15.72 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002074/1.262, allocations: 0.8567 MB / 1.362 GB, free: 15.24 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-05/1.262, allocations: 11.41 kB / 1.362 GB, free: 15.24 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/1.262, allocations: 0 / 1.362 GB, free: 15.24 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001461/1.263, allocations: 0.7984 MB / 1.363 GB, free: 14.7 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005328/1.269, allocations: 2.455 MB / 1.365 GB, free: 12.99 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/1.269, allocations: 1.281 kB / 1.365 GB, free: 12.99 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008242/1.27, allocations: 183.6 kB / 1.365 GB, free: 12.93 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/1.27, allocations: 4.031 kB / 1.365 GB, free: 12.93 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.936e-05/1.27, allocations: 19.62 kB / 1.365 GB, free: 12.92 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.03e-05/1.27, allocations: 8.359 kB / 1.365 GB, free: 12.92 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/1.27, allocations: 2.312 kB / 1.365 GB, free: 12.92 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003044/1.273, allocations: 1.345 MB / 1.367 GB, free: 12.11 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001032/1.274, allocations: 369.1 kB / 1.367 GB, free: 11.8 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002785/1.274, allocations: 26.64 kB / 1.367 GB, free: 11.78 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/1.275, allocations: 65.03 kB / 1.367 GB, free: 11.75 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/1.275, allocations: 55.41 kB / 1.367 GB, free: 11.71 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.55e-05/1.275, allocations: 38 kB / 1.367 GB, free: 11.7 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002056/1.277, allocations: 1.235 MB / 1.369 GB, free: 11.02 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.01e-07/1.277, allocations: 0 / 1.369 GB, free: 11.02 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002614/1.28, allocations: 0.6624 MB / 1.369 GB, free: 10.85 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.001608/1.281, allocations: 0.6093 MB / 1.37 GB, free: 10.53 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001918/1.283, allocations: 0.7839 MB / 1.371 GB, free: 10.18 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/1.283, allocations: 0 / 1.371 GB, free: 10.18 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0007593/1.284, allocations: 336.1 kB / 1.371 GB, free: 10.03 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00628/1.29, allocations: 1.206 MB / 1.372 GB, free: 9.395 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005585/1.296, allocations: 3.147 MB / 1.375 GB, free: 7.438 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/1.297, allocations: 1.396 MB / 1.376 GB, free: 6.41 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005814/1.298, allocations: 154.1 kB / 1.377 GB, free: 6.387 MB / 1.045 GB Notification: Performance of SimCode: time 2.024e-06/1.298, allocations: 0 / 1.377 GB, free: 6.387 MB / 1.045 GB Notification: Performance of Templates: time 0.05951/1.357, allocations: 35.24 MB / 1.411 GB, free: 6.5 MB / 1.076 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.589543339097872]