Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001629/0.001629, allocations: 109 kB / 17.08 MB, free: 5.984 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.00135/0.00135, allocations: 195.6 kB / 20.03 MB, free: 3.059 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.424/1.424, allocations: 222.9 MB / 245.7 MB, free: 4.234 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.66/2.66, allocations: 437.1 MB / 0.7177 GB, free: 4.488 MB / 0.5606 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.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_10_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_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 67.91 kB / 1.028 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3166, allocations: 151.6 MB / 1.176 GB, free: 5.848 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04509/0.3617, allocations: 41.61 MB / 1.216 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01555/0.3773, allocations: 10.39 MB / 1.227 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002358/0.3797, allocations: 59.62 kB / 1.227 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002233/0.382, allocations: 0.6365 MB / 1.227 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005755/0.3878, allocations: 1.889 MB / 1.229 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00346/0.3913, allocations: 1.184 MB / 1.23 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005091/0.3964, allocations: 3.399 MB / 1.234 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001664/0.398, allocations: 1.052 MB / 1.235 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003167/0.4012, allocations: 1.245 MB / 1.236 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001509/0.4028, allocations: 0.8789 MB / 1.237 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001837/0.403, allocations: 100 kB / 1.237 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002147/0.4051, allocations: 0.8617 MB / 1.238 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003255/0.4054, allocations: 283 kB / 1.238 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008261/0.4063, allocations: 0.626 MB / 1.239 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003033/0.4093, allocations: 1.927 MB / 1.24 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.4094, allocations: 7.984 kB / 1.24 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4094, allocations: 0 / 1.24 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.889e-05/0.4094, allocations: 4 kB / 1.24 GB, free: 3.477 MB / 0.9825 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.002512/0.4119, allocations: 1.54 MB / 1.242 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.412, allocations: 12.03 kB / 1.242 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003668/0.4123, allocations: 144.1 kB / 1.242 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001773/0.4141, allocations: 1.116 MB / 1.243 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.043e-05/0.4142, allocations: 57.98 kB / 1.243 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.4143, allocations: 72 kB / 1.243 GB, free: 452 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.4157, allocations: 0.7866 MB / 1.244 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.4157, allocations: 0 / 1.244 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.99e-05/0.4158, allocations: 39.98 kB / 1.244 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.368e-05/0.4159, allocations: 23.98 kB / 1.244 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.417, allocations: 0.5633 MB / 1.245 GB, free: 15 MB / 0.9981 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.004501/0.4215, allocations: 3.564 MB / 1.248 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006047/0.4221, allocations: 258.4 kB / 1.248 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003624/0.4225, allocations: 176.7 kB / 1.249 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006113/0.4231, allocations: 0.6649 MB / 1.249 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.4232, allocations: 34.56 kB / 1.249 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.485e-06/0.4232, allocations: 7.938 kB / 1.249 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.001344/0.4245, allocations: 0.5181 MB / 1.25 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.4246, allocations: 55.41 kB / 1.25 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/0.4258, allocations: 0.9456 MB / 1.251 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.382e-05/0.4259, allocations: 41.64 kB / 1.251 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004426/0.4263, allocations: 0.5004 MB / 1.251 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/0.4265, allocations: 115.1 kB / 1.251 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/0.4267, allocations: 118.2 kB / 1.251 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.4268, allocations: 329.9 kB / 1.252 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003891/0.4272, allocations: 165 kB / 1.252 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005245/0.4277, allocations: 346.9 kB / 1.252 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000873/0.4286, allocations: 0.511 MB / 1.253 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.4286, allocations: 0 / 1.253 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001267/0.4299, allocations: 0.6179 MB / 1.253 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.4299, allocations: 8 kB / 1.253 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.4299, allocations: 8 kB / 1.253 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.43, allocations: 8 kB / 1.253 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004454/0.4304, allocations: 123.8 kB / 1.254 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.012e-05/0.4305, allocations: 11.98 kB / 1.254 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006132/0.4311, allocations: 91.59 kB / 1.254 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-05/0.4311, allocations: 24 kB / 1.254 GB, free: 5.18 MB / 0.9981 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.0004056/0.4315, allocations: 285.5 kB / 1.254 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/0.4317, allocations: 103.3 kB / 1.254 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/0.4327, allocations: 484.6 kB / 1.254 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.4328, allocations: 4 kB / 1.255 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.768e-06/0.4328, allocations: 0 / 1.255 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007783/0.4336, allocations: 449.2 kB / 1.255 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002168/0.4357, allocations: 1.375 MB / 1.256 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.4358, allocations: 0 / 1.256 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003406/0.4361, allocations: 79.88 kB / 1.256 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.498e-06/0.4361, allocations: 8.094 kB / 1.256 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.746e-05/0.4362, allocations: 12 kB / 1.256 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.4362, allocations: 4 kB / 1.256 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4362, allocations: 0 / 1.256 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.4375, allocations: 0.7677 MB / 1.257 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003186/0.4378, allocations: 232.3 kB / 1.257 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.438, allocations: 8 kB / 1.257 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004902/0.4385, allocations: 32.02 kB / 1.257 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.784e-05/0.4385, allocations: 27.91 kB / 1.257 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.903e-05/0.4386, allocations: 23.92 kB / 1.257 GB, free: 1.156 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009136/0.4395, allocations: 0.6628 MB / 1.258 GB, free: 496 kB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4395, allocations: 0 / 1.258 GB, free: 496 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009522/0.4405, allocations: 343.2 kB / 1.258 GB, free: 152 kB / 0.9981 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.5895/1.03, allocations: 385.2 kB / 1.259 GB, free: 82.73 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001144/1.031, allocations: 421.2 kB / 1.259 GB, free: 82.73 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/1.031, allocations: 1.438 kB / 1.259 GB, free: 82.73 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004177/1.032, allocations: 187.8 kB / 1.259 GB, free: 82.73 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002925/1.035, allocations: 0.6183 MB / 1.26 GB, free: 82.69 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002549/1.037, allocations: 1.648 MB / 1.262 GB, free: 81.96 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005834/1.038, allocations: 1.03 MB / 1.263 GB, free: 81.25 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002554/1.038, allocations: 91.39 kB / 1.263 GB, free: 81.25 MB / 0.9981 GB Notification: Performance of SimCode: time 6.61e-07/1.038, allocations: 0.8438 kB / 1.263 GB, free: 81.25 MB / 0.9981 GB Notification: Performance of Templates: time 0.03642/1.074, allocations: 18.11 MB / 1.28 GB, free: 79.18 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.556026482023299]