Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00112/0.00112, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001585/0.002705, allocations: 449.7 kB / 10.37 MB, free: 328 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.00108/0.00108, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001308/0.002389, allocations: 459.6 kB / 11.71 MB, free: 2.457 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 0.9197/0.9197, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1018/1.022, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.806/1.806, allocations: 378.2 MB / 0.6076 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4665/2.272, allocations: 123.3 MB / 0.728 GB, free: 5.852 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0.5469 kB / 0.7293 GB, free: 4.539 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.87e-05/3.075e-05, allocations: 7.938 kB / 0.7293 GB, free: 4.531 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.01394/0.01398, allocations: 13.25 MB / 0.7423 GB, free: 7.281 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01104/0.02502, allocations: 6.001 MB / 0.7481 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002688/0.02771, allocations: 79.31 kB / 0.7482 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001185/0.02889, allocations: 373.9 kB / 0.7486 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.004107/0.033, allocations: 1.339 MB / 0.7499 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.003343/0.03634, allocations: 1.219 MB / 0.7511 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.005163/0.0415, allocations: 3.399 MB / 0.7544 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002007/0.04351, allocations: 0.876 MB / 0.7553 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003356/0.04687, allocations: 1.715 MB / 0.7569 GB, free: 8.332 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00128/0.04815, allocations: 0.7563 MB / 0.7577 GB, free: 7.574 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001657/0.04831, allocations: 102 kB / 0.7578 GB, free: 7.477 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008547/0.04917, allocations: 299.5 kB / 0.7581 GB, free: 7.184 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002632/0.04943, allocations: 243 kB / 0.7583 GB, free: 6.945 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0005705/0.05, allocations: 371.3 kB / 0.7586 GB, free: 6.582 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001602/0.0516, allocations: 0.981 MB / 0.7596 GB, free: 5.598 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.958e-05/0.05162, allocations: 1.062 kB / 0.7596 GB, free: 5.598 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.522e-06/0.05162, allocations: 0 / 0.7596 GB, free: 5.598 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.67e-05/0.05166, allocations: 0 / 0.7596 GB, free: 5.598 MB / 0.7292 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.002264/0.05393, allocations: 1.685 MB / 0.7612 GB, free: 3.867 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.05396, allocations: 8.031 kB / 0.7612 GB, free: 3.859 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003777/0.05434, allocations: 173.5 kB / 0.7614 GB, free: 3.691 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.0556, allocations: 0.745 MB / 0.7621 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.701e-05/0.05565, allocations: 50.38 kB / 0.7622 GB, free: 2.867 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/0.0558, allocations: 81.03 kB / 0.7623 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008245/0.05663, allocations: 0.6945 MB / 0.7629 GB, free: 2.02 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.05665, allocations: 11.88 kB / 0.763 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.357e-05/0.0567, allocations: 32.88 kB / 0.763 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.361e-05/0.05675, allocations: 20 kB / 0.763 GB, free: 1.957 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003618/0.05711, allocations: 198.3 kB / 0.7632 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002613/0.05972, allocations: 2.17 MB / 0.7653 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003172/0.06004, allocations: 168.1 kB / 0.7655 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.06015, allocations: 82.05 kB / 0.7656 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001202/0.06027, allocations: 31.92 kB / 0.7656 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.0603, allocations: 35.5 kB / 0.7656 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=31): time 2.485e-06/0.0603, allocations: 0 / 0.7656 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of matching and sorting (n=31): time 0.0004954/0.0608, allocations: 198.1 kB / 0.7658 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.06083, allocations: 60.19 kB / 0.7659 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006502/0.06148, allocations: 0.6808 MB / 0.7665 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.357e-05/0.06152, allocations: 35.11 kB / 0.7666 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002458/0.06176, allocations: 409.8 kB / 0.767 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.595e-05/0.06185, allocations: 119 kB / 0.7671 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.06198, allocations: 110.2 kB / 0.7672 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.57e-05/0.06207, allocations: 334.6 kB / 0.7675 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.06221, allocations: 64.64 kB / 0.7676 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002922/0.0625, allocations: 398.1 kB / 0.7679 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003799/0.06288, allocations: 329.4 kB / 0.7682 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.06289, allocations: 0 / 0.7682 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0005202/0.06341, allocations: 353.1 kB / 0.7686 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.06343, allocations: 8 kB / 0.7686 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.06344, allocations: 8 kB / 0.7686 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.06346, allocations: 8 kB / 0.7686 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004054/0.06386, allocations: 136.8 kB / 0.7687 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.06387, allocations: 8 kB / 0.7687 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003613/0.06423, allocations: 64.8 kB / 0.7688 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-05/0.06427, allocations: 23.94 kB / 0.7688 GB, free: 11.67 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * 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.0001697/0.06444, allocations: 145.4 kB / 0.769 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.32e-05/0.06454, allocations: 67.86 kB / 0.769 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004094/0.06495, allocations: 252.3 kB / 0.7693 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.06495, allocations: 4.562 kB / 0.7693 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-06/0.06496, allocations: 0 / 0.7693 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001921/0.06515, allocations: 223.6 kB / 0.7695 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.0662, allocations: 0.7911 MB / 0.7703 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.06621, allocations: 4 kB / 0.7703 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002767/0.06649, allocations: 77.11 kB / 0.7703 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001961/0.06668, allocations: 111.3 kB / 0.7704 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.06669, allocations: 4.906 kB / 0.7705 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.06671, allocations: 8 kB / 0.7705 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.06671, allocations: 4 kB / 0.7705 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.06672, allocations: 4.781 kB / 0.7705 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004581/0.06717, allocations: 428.7 kB / 0.7709 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.428e-05/0.06725, allocations: 9.156 kB / 0.7709 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002786/0.06753, allocations: 15.98 kB / 0.7709 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.054e-05/0.06759, allocations: 36.39 kB / 0.7709 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-05/0.06762, allocations: 15.98 kB / 0.771 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003328/0.06795, allocations: 328.2 kB / 0.7713 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.06795, allocations: 0 / 0.7713 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007091/0.06866, allocations: 287.3 kB / 0.7715 GB, free: 8.785 MB / 0.7448 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.0003133/0.06897, allocations: 159.8 kB / 0.7717 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003679/0.06934, allocations: 229.2 kB / 0.7719 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-05/0.06937, allocations: 13.38 kB / 0.7719 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.0695, allocations: 96.36 kB / 0.772 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/0.07104, allocations: 0.5721 MB / 0.7726 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008892/0.07993, allocations: 1.446 MB / 0.774 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/0.08013, allocations: 183.2 kB / 0.7742 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0007347/0.08086, allocations: 153 kB / 0.7743 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008471/0.08171, allocations: 368.4 kB / 0.7747 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of SimCode: time 1.483e-06/0.08171, allocations: 0 / 0.7747 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of Templates: time 0.02549/0.1072, allocations: 18.42 MB / 0.7926 GB, free: 3.598 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger/Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.200591994449496]