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.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.001368/0.001368, allocations: 111.3 kB / 17.61 MB, free: 4.684 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.001405/0.001405, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.468/1.468, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.906/2.906, allocations: 496.2 MB / 0.7819 GB, free: 12.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.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 0.001998/0.001998, allocations: 72.11 kB / 1.136 GB, free: 12.46 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.226/1.228, allocations: 173.6 MB / 1.305 GB, free: 33.46 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03687/1.265, allocations: 42.35 MB / 1.347 GB, free: 3.348 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01719/1.282, allocations: 10.45 MB / 1.357 GB, free: 11.88 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003296/1.286, allocations: 63.75 kB / 1.357 GB, free: 11.86 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002347/1.288, allocations: 0.6726 MB / 1.358 GB, free: 11.45 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006846/1.295, allocations: 1.978 MB / 1.36 GB, free: 10.28 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003749/1.299, allocations: 1.203 MB / 1.361 GB, free: 9.609 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.006249/1.305, allocations: 3.404 MB / 1.364 GB, free: 7.969 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001576/1.306, allocations: 0.813 MB / 1.365 GB, free: 7.539 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004115/1.31, allocations: 1.44 MB / 1.366 GB, free: 6.848 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001933/1.312, allocations: 0.9259 MB / 1.367 GB, free: 6.434 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001987/1.313, allocations: 99.31 kB / 1.367 GB, free: 6.434 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00255/1.315, allocations: 0.8805 MB / 1.368 GB, free: 6.09 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003823/1.316, allocations: 293.5 kB / 1.368 GB, free: 5.91 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000923/1.316, allocations: 0.6283 MB / 1.369 GB, free: 5.527 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003754/1.32, allocations: 1.939 MB / 1.371 GB, free: 4.793 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/1.32, allocations: 4 kB / 1.371 GB, free: 4.789 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.924e-06/1.32, allocations: 0 / 1.371 GB, free: 4.789 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.688e-05/1.32, allocations: 1.25 kB / 1.371 GB, free: 4.789 MB / 1.076 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.003018/1.323, allocations: 1.549 MB / 1.372 GB, free: 3.719 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/1.323, allocations: 11.28 kB / 1.373 GB, free: 3.719 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004254/1.324, allocations: 146.2 kB / 1.373 GB, free: 3.645 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002108/1.326, allocations: 1.106 MB / 1.374 GB, free: 2.988 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001658/1.326, allocations: 59.95 kB / 1.374 GB, free: 2.957 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/1.326, allocations: 79.7 kB / 1.374 GB, free: 2.926 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/1.328, allocations: 0.7845 MB / 1.375 GB, free: 2.555 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.709e-05/1.328, allocations: 5.281 kB / 1.375 GB, free: 2.551 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.528e-05/1.328, allocations: 27.95 kB / 1.375 GB, free: 2.531 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.125e-05/1.328, allocations: 18.67 kB / 1.375 GB, free: 2.531 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/1.329, allocations: 0.5716 MB / 1.375 GB, free: 2.336 MB / 1.076 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.00553/1.335, allocations: 3.71 MB / 1.379 GB, free: 15.55 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007335/1.335, allocations: 253.3 kB / 1.379 GB, free: 15.45 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003827/1.336, allocations: 168.8 kB / 1.379 GB, free: 15.39 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006445/1.336, allocations: 0.6587 MB / 1.38 GB, free: 14.63 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/1.336, allocations: 37.78 kB / 1.38 GB, free: 14.59 MB / 1.092 GB Notification: Performance of pre-optimization done (n=31): time 2.374e-06/1.336, allocations: 0 / 1.38 GB, free: 14.59 MB / 1.092 GB Notification: Performance of matching and sorting (n=31): time 0.001597/1.338, allocations: 0.515 MB / 1.38 GB, free: 14.39 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.517e-05/1.338, allocations: 58.94 kB / 1.38 GB, free: 14.32 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001758/1.34, allocations: 0.953 MB / 1.381 GB, free: 13.92 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 8.024e-05/1.34, allocations: 32.48 kB / 1.381 GB, free: 13.88 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005447/1.34, allocations: 0.5036 MB / 1.382 GB, free: 13.47 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001619/1.341, allocations: 117.6 kB / 1.382 GB, free: 13.38 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002036/1.341, allocations: 114.5 kB / 1.382 GB, free: 13.32 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001737/1.341, allocations: 334.2 kB / 1.382 GB, free: 13 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003793/1.341, allocations: 164.3 kB / 1.383 GB, free: 12.95 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005952/1.342, allocations: 344.9 kB / 1.383 GB, free: 12.68 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000971/1.343, allocations: 0.5079 MB / 1.383 GB, free: 12.34 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/1.343, allocations: 6.281 kB / 1.383 GB, free: 12.33 MB / 1.092 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001462/1.344, allocations: 0.6162 MB / 1.384 GB, free: 12.07 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/1.344, allocations: 6.625 kB / 1.384 GB, free: 12.07 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/1.344, allocations: 6.141 kB / 1.384 GB, free: 12.07 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/1.344, allocations: 8.406 kB / 1.384 GB, free: 12.07 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004485/1.345, allocations: 126.8 kB / 1.384 GB, free: 12.06 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.736e-05/1.345, allocations: 14.09 kB / 1.384 GB, free: 12.05 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007832/1.346, allocations: 90.39 kB / 1.384 GB, free: 12 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.483e-05/1.346, allocations: 26.44 kB / 1.384 GB, free: 12 MB / 1.092 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.0004891/1.346, allocations: 276.3 kB / 1.385 GB, free: 11.79 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002111/1.346, allocations: 104.1 kB / 1.385 GB, free: 11.73 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/1.347, allocations: 484.7 kB / 1.385 GB, free: 11.54 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/1.348, allocations: 11.06 kB / 1.385 GB, free: 11.54 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/1.348, allocations: 1.938 kB / 1.385 GB, free: 11.54 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007863/1.348, allocations: 450.9 kB / 1.386 GB, free: 11.28 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002489/1.351, allocations: 1.384 MB / 1.387 GB, free: 10.52 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/1.351, allocations: 1.344 kB / 1.387 GB, free: 10.52 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003536/1.351, allocations: 77.73 kB / 1.387 GB, free: 10.51 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.327e-06/1.351, allocations: 11.66 kB / 1.387 GB, free: 10.5 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/1.351, allocations: 9.078 kB / 1.387 GB, free: 10.5 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/1.351, allocations: 2.562 kB / 1.387 GB, free: 10.5 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/1.351, allocations: 2.438 kB / 1.387 GB, free: 10.5 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001435/1.353, allocations: 0.7658 MB / 1.388 GB, free: 10.09 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004118/1.353, allocations: 231.5 kB / 1.388 GB, free: 9.91 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/1.353, allocations: 11.03 kB / 1.388 GB, free: 9.902 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005064/1.354, allocations: 31.75 kB / 1.388 GB, free: 9.895 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.581e-05/1.354, allocations: 25.39 kB / 1.388 GB, free: 9.891 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.269e-05/1.354, allocations: 20.75 kB / 1.388 GB, free: 9.887 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001003/1.355, allocations: 0.6564 MB / 1.389 GB, free: 9.602 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.2e-07/1.355, allocations: 5.062 kB / 1.389 GB, free: 9.598 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001086/1.356, allocations: 342.7 kB / 1.389 GB, free: 9.52 MB / 1.092 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.0008358/1.357, allocations: 405.4 kB / 1.389 GB, free: 9.32 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.000946/1.358, allocations: 400.7 kB / 1.39 GB, free: 9.203 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.358, allocations: 0 / 1.39 GB, free: 9.203 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0004778/1.358, allocations: 172.2 kB / 1.39 GB, free: 9.156 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002688/1.361, allocations: 0.6128 MB / 1.391 GB, free: 8.957 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002697/1.364, allocations: 1.636 MB / 1.392 GB, free: 8 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007856/1.364, allocations: 1.035 MB / 1.393 GB, free: 7.266 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0007526/1.365, allocations: 196.6 kB / 1.393 GB, free: 7.219 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002057/1.365, allocations: 76.78 kB / 1.393 GB, free: 7.211 MB / 1.092 GB Notification: Performance of SimCode: time 1.403e-06/1.365, allocations: 0 / 1.393 GB, free: 7.211 MB / 1.092 GB Notification: Performance of Templates: time 0.04124/1.407, allocations: 21.65 MB / 1.415 GB, free: 0.543 MB / 1.092 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.31057803798467]