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.001679/0.001679, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001775/0.001775, allocations: 186 kB / 20.78 MB, free: 1.547 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.453/1.453, allocations: 225.6 MB / 249.4 MB, free: 3.152 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.655/2.655, allocations: 443.4 MB / 0.7304 GB, free: 14.05 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.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.002336/0.002336, allocations: 67.89 kB / 1.059 GB, free: 436 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3518, allocations: 160.7 MB / 1.216 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.05364/0.4054, allocations: 42.29 MB / 1.257 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6498/1.055, allocations: 10.44 MB / 1.268 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001779/1.057, allocations: 56.84 kB / 1.268 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001563/1.059, allocations: 0.6711 MB / 1.268 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004759/1.063, allocations: 1.971 MB / 1.27 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002881/1.066, allocations: 1.198 MB / 1.271 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004286/1.071, allocations: 3.409 MB / 1.275 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001251/1.072, allocations: 0.8136 MB / 1.276 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003173/1.075, allocations: 1.274 MB / 1.277 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001768/1.077, allocations: 0.9297 MB / 1.278 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000213/1.077, allocations: 100.3 kB / 1.278 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002362/1.079, allocations: 0.8911 MB / 1.279 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003374/1.08, allocations: 298.7 kB / 1.279 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008562/1.081, allocations: 0.6281 MB / 1.28 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003538/1.084, allocations: 1.935 MB / 1.281 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/1.084, allocations: 0 / 1.281 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.422e-06/1.084, allocations: 0.875 kB / 1.281 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.278e-05/1.084, allocations: 0 / 1.281 GB, free: 7.645 MB / 0.9981 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.002881/1.087, allocations: 1.555 MB / 1.283 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/1.087, allocations: 10.41 kB / 1.283 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004467/1.087, allocations: 145.1 kB / 1.283 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001914/1.089, allocations: 1.111 MB / 1.284 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.419e-05/1.089, allocations: 57.78 kB / 1.284 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/1.09, allocations: 72.09 kB / 1.284 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/1.091, allocations: 0.7868 MB / 1.285 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.795e-05/1.091, allocations: 4.688 kB / 1.285 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.419e-05/1.091, allocations: 31.08 kB / 1.285 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.223e-05/1.091, allocations: 19.86 kB / 1.285 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/1.093, allocations: 0.5674 MB / 1.286 GB, free: 6.223 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.004794/1.097, allocations: 3.561 MB / 1.289 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005819/1.098, allocations: 238.7 kB / 1.289 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003263/1.098, allocations: 176 kB / 1.29 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003735/1.099, allocations: 0.6543 MB / 1.29 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/1.099, allocations: 37.72 kB / 1.29 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.144e-06/1.099, allocations: 0 / 1.29 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.001315/1.1, allocations: 0.5217 MB / 1.291 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/1.1, allocations: 55.09 kB / 1.291 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/1.101, allocations: 0.9455 MB / 1.292 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.011e-05/1.101, allocations: 32.61 kB / 1.292 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003326/1.102, allocations: 0.5036 MB / 1.292 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000104/1.102, allocations: 122.9 kB / 1.292 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/1.102, allocations: 116.1 kB / 1.292 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.329e-05/1.102, allocations: 331.5 kB / 1.293 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003402/1.102, allocations: 162.5 kB / 1.293 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004398/1.103, allocations: 355.4 kB / 1.293 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007703/1.104, allocations: 0.509 MB / 1.294 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/1.104, allocations: 1.125 kB / 1.294 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001166/1.105, allocations: 0.6193 MB / 1.294 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/1.105, allocations: 9.688 kB / 1.294 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/1.105, allocations: 5.594 kB / 1.294 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.693e-05/1.105, allocations: 8.844 kB / 1.294 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004461/1.105, allocations: 134.6 kB / 1.295 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/1.105, allocations: 8.969 kB / 1.295 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007434/1.106, allocations: 82 kB / 1.295 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.965e-05/1.106, allocations: 25.61 kB / 1.295 GB, free: 2.02 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.0003625/1.106, allocations: 285.6 kB / 1.295 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/1.107, allocations: 103.8 kB / 1.295 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009862/1.107, allocations: 485.9 kB / 1.295 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/1.108, allocations: 4.469 kB / 1.296 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/1.108, allocations: 1.438 kB / 1.296 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006581/1.108, allocations: 456.4 kB / 1.296 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/1.11, allocations: 1.368 MB / 1.297 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/1.11, allocations: 2.938 kB / 1.297 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003378/1.111, allocations: 77.28 kB / 1.297 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/1.111, allocations: 2.344 kB / 1.297 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.078e-05/1.111, allocations: 14.22 kB / 1.297 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.191e-06/1.111, allocations: 3.297 kB / 1.297 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.111, allocations: 1.188 kB / 1.297 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/1.112, allocations: 0.7675 MB / 1.298 GB, free: 436 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004154/1.112, allocations: 229.9 kB / 1.298 GB, free: 16.24 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/1.113, allocations: 13.11 kB / 1.298 GB, free: 16.23 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005158/1.113, allocations: 34.69 kB / 1.298 GB, free: 16.22 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.152e-05/1.113, allocations: 28.78 kB / 1.298 GB, free: 16.21 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.671e-05/1.113, allocations: 16.19 kB / 1.298 GB, free: 16.21 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001005/1.114, allocations: 0.6695 MB / 1.299 GB, free: 15.92 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.114, allocations: 0 / 1.299 GB, free: 15.92 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001289/1.115, allocations: 339 kB / 1.299 GB, free: 15.84 MB / 1.014 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.0009199/1.116, allocations: 391.2 kB / 1.3 GB, free: 15.69 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00102/1.117, allocations: 402.8 kB / 1.3 GB, free: 15.57 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/1.117, allocations: 1 kB / 1.3 GB, free: 15.57 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004143/1.118, allocations: 182.9 kB / 1.3 GB, free: 15.52 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002988/1.121, allocations: 0.6138 MB / 1.301 GB, free: 15.34 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004028/1.125, allocations: 1.621 MB / 1.303 GB, free: 14.41 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009221/1.126, allocations: 1.042 MB / 1.304 GB, free: 13.67 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001026/1.127, allocations: 198.8 kB / 1.304 GB, free: 13.62 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002474/1.127, allocations: 84.3 kB / 1.304 GB, free: 13.61 MB / 1.014 GB Notification: Performance of SimCode: time 1.032e-06/1.127, allocations: 1.062 kB / 1.304 GB, free: 13.61 MB / 1.014 GB Notification: Performance of Templates: time 0.04729/1.174, allocations: 21.66 MB / 1.325 GB, free: 8.469 MB / 1.014 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.688096204772592]