Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001622/0.002754, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001452/0.002557, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.007/1.007, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1171/1.125, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.598/2.598, allocations: 447.1 MB / 0.675 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3016/2.9, allocations: 146 MB / 0.8176 GB, free: 3.828 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fouPor.Q1_flow|fouPor.Q2_flow|fouPor.vol1.T|fouPor.vol2.T|sou2.T|sou1.T_in|sin.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fouPor.Q1_flow|fouPor.Q2_flow|fouPor.vol1.T|fouPor.vol2.T|sou2.T|sou1.T_in|sin.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.8189 GB, free: 2.488 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.718e-05, allocations: 6.25 kB / 0.8189 GB, free: 2.48 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.01225/0.01228, allocations: 13.4 MB / 0.832 GB, free: 5.016 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01178/0.02406, allocations: 7.802 MB / 0.8397 GB, free: 13.19 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00192/0.02598, allocations: 83.31 kB / 0.8397 GB, free: 13.11 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0008196/0.02679, allocations: 381.1 kB / 0.8401 GB, free: 12.73 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.002953/0.02975, allocations: 1.367 MB / 0.8414 GB, free: 11.36 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004019/0.03377, allocations: 1.807 MB / 0.8432 GB, free: 9.547 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.004404/0.03817, allocations: 3.449 MB / 0.8466 GB, free: 6.086 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002158/0.04033, allocations: 0.8968 MB / 0.8474 GB, free: 5.16 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003955/0.04428, allocations: 1.737 MB / 0.8491 GB, free: 3.441 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001735/0.04602, allocations: 0.7748 MB / 0.8499 GB, free: 2.664 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.000281/0.0463, allocations: 100 kB / 0.85 GB, free: 2.566 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009274/0.04723, allocations: 307.4 kB / 0.8503 GB, free: 2.266 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002793/0.04751, allocations: 251 kB / 0.8505 GB, free: 2.02 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005222/0.04803, allocations: 391.2 kB / 0.8509 GB, free: 1.637 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.001577/0.0496, allocations: 1.004 MB / 0.8519 GB, free: 0.6289 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.939e-05/0.04962, allocations: 0 / 0.8519 GB, free: 0.6289 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.054e-06/0.04963, allocations: 0 / 0.8519 GB, free: 0.6289 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.72e-05/0.04968, allocations: 0 / 0.8519 GB, free: 0.6289 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002595/0.05228, allocations: 1.785 MB / 0.8536 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.05233, allocations: 8.031 kB / 0.8536 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003866/0.05272, allocations: 176.3 kB / 0.8538 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.0539, allocations: 0.7845 MB / 0.8546 GB, free: 13.79 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.33e-05/0.05394, allocations: 62 kB / 0.8546 GB, free: 13.73 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.345e-05/0.05403, allocations: 80 kB / 0.8547 GB, free: 13.65 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007646/0.05479, allocations: 0.6906 MB / 0.8554 GB, free: 12.88 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/0.05481, allocations: 0 / 0.8554 GB, free: 12.88 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.538e-05/0.05486, allocations: 32 kB / 0.8554 GB, free: 12.85 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-05/0.05491, allocations: 23.98 kB / 0.8554 GB, free: 12.83 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002876/0.0552, allocations: 205 kB / 0.8556 GB, free: 12.62 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002348/0.05754, allocations: 2.215 MB / 0.8578 GB, free: 10.33 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002804/0.05782, allocations: 168 kB / 0.8579 GB, free: 10.16 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.133e-05/0.0579, allocations: 68.17 kB / 0.858 GB, free: 10.09 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001181/0.05801, allocations: 35.95 kB / 0.858 GB, free: 10.05 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.05804, allocations: 38.56 kB / 0.8581 GB, free: 10 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=31): time 1.663e-06/0.05804, allocations: 0 / 0.8581 GB, free: 10 MB / 0.8386 GB Notification: Performance of matching and sorting (n=31): time 0.0003547/0.0584, allocations: 209.5 kB / 0.8583 GB, free: 9.793 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.05843, allocations: 55.41 kB / 0.8583 GB, free: 9.727 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000558/0.05899, allocations: 0.7552 MB / 0.8591 GB, free: 8.949 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.05902, allocations: 33.7 kB / 0.8591 GB, free: 8.91 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/0.05924, allocations: 421.9 kB / 0.8595 GB, free: 8.488 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.127e-05/0.05931, allocations: 123 kB / 0.8596 GB, free: 8.367 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.05943, allocations: 146.5 kB / 0.8598 GB, free: 8.219 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.05953, allocations: 337.8 kB / 0.8601 GB, free: 7.883 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.05964, allocations: 72.8 kB / 0.8602 GB, free: 7.812 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003108/0.05995, allocations: 0.5126 MB / 0.8607 GB, free: 7.133 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004211/0.06038, allocations: 0.4981 MB / 0.8611 GB, free: 6.508 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.06038, allocations: 4 kB / 0.8611 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0004846/0.06087, allocations: 440.5 kB / 0.8616 GB, free: 6.066 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.06089, allocations: 12 kB / 0.8616 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.0609, allocations: 8 kB / 0.8616 GB, free: 6.047 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.06092, allocations: 12 kB / 0.8616 GB, free: 6.035 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003338/0.06126, allocations: 171.7 kB / 0.8618 GB, free: 5.867 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.06127, allocations: 19.92 kB / 0.8618 GB, free: 5.848 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002983/0.06157, allocations: 79.47 kB / 0.8619 GB, free: 5.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.866e-05/0.06161, allocations: 35.92 kB / 0.8619 GB, free: 5.734 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (83): * Single equations (assignments): 83 * 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.0001621/0.06177, allocations: 168.3 kB / 0.862 GB, free: 5.559 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.546e-05/0.06185, allocations: 63.92 kB / 0.8621 GB, free: 5.496 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003407/0.06219, allocations: 250.5 kB / 0.8623 GB, free: 5.246 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/0.0622, allocations: 4 kB / 0.8624 GB, free: 5.242 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.0622, allocations: 0 / 0.8624 GB, free: 5.242 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001693/0.06237, allocations: 225.8 kB / 0.8626 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008977/0.06327, allocations: 0.7904 MB / 0.8633 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.06327, allocations: 4.219 kB / 0.8633 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002094/0.06348, allocations: 79.89 kB / 0.8634 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.06364, allocations: 119.2 kB / 0.8635 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.06365, allocations: 4 kB / 0.8635 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.06367, allocations: 11.94 kB / 0.8635 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/0.06367, allocations: 11.92 kB / 0.8636 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.06367, allocations: 0 / 0.8636 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003928/0.06407, allocations: 430.5 kB / 0.864 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.977e-05/0.06414, allocations: 15.92 kB / 0.864 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001971/0.06433, allocations: 27.95 kB / 0.864 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.06439, allocations: 23.95 kB / 0.864 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.413e-05/0.06441, allocations: 15.98 kB / 0.864 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002842/0.0647, allocations: 358.1 kB / 0.8644 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.0647, allocations: 0 / 0.8644 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000625/0.06532, allocations: 299.3 kB / 0.8647 GB, free: 2.738 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0003241/0.06564, allocations: 168.1 kB / 0.8648 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003324/0.06598, allocations: 273.1 kB / 0.8651 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.273e-05/0.066, allocations: 27.91 kB / 0.8651 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001515/0.06615, allocations: 113.7 kB / 0.8652 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002097/0.06825, allocations: 3.284 MB / 0.8684 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005239/0.07349, allocations: 1.528 MB / 0.8699 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001284/0.07362, allocations: 187.4 kB / 0.8701 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004162/0.07403, allocations: 156.4 kB / 0.8703 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006113/0.07464, allocations: 369 kB / 0.8706 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of SimCode: time 1.844e-06/0.07465, allocations: 4 kB / 0.8706 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of Templates: time 0.02947/0.1041, allocations: 18.82 MB / 0.889 GB, free: 9.586 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger/Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.973453159444034]