Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.vol1.T|hex.vol2.T|hex.mas.port.T|hex.port_a1.m_flow|hex.port_a2.m_flow|hex.Q1_flow|hex.Q2_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.vol1.T|hex.vol2.T|hex.mas.port.T|hex.port_a1.m_flow|hex.port_a2.m_flow|hex.Q1_flow|hex.Q2_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 113.6 kB / 16.42 MB, free: 6.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001908/0.001908, allocations: 190.7 kB / 17.35 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.531/2.531, allocations: 437.1 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001624, allocations: 59.91 kB / 1.019 GB, free: 9.344 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.744/0.7457, allocations: 151.6 MB / 1.167 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible): time 0.2601/1.006, allocations: 248.4 MB / 1.41 GB, free: 10.51 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.0182/1.024, allocations: 11.98 MB / 1.422 GB, free: 14.5 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002378/1.026, allocations: 75.56 kB / 1.422 GB, free: 14.42 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.003055/1.03, allocations: 1.091 MB / 1.423 GB, free: 13.32 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.008881/1.038, allocations: 3.335 MB / 1.426 GB, free: 9.977 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004354/1.043, allocations: 1.559 MB / 1.428 GB, free: 8.43 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.006684/1.05, allocations: 4.714 MB / 1.432 GB, free: 3.699 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002562/1.052, allocations: 1.523 MB / 1.434 GB, free: 2.145 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005087/1.057, allocations: 2.132 MB / 1.436 GB, free: 8 kB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002531/1.06, allocations: 1.325 MB / 1.437 GB, free: 14.68 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0005415/1.06, allocations: 156 kB / 1.437 GB, free: 14.53 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005261/1.066, allocations: 2.28 MB / 1.439 GB, free: 12.24 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0008658/1.066, allocations: 0.5295 MB / 1.44 GB, free: 11.71 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001983/1.068, allocations: 0.9992 MB / 1.441 GB, free: 10.71 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00656/1.075, allocations: 3.301 MB / 1.444 GB, free: 7.395 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/1.075, allocations: 0 / 1.444 GB, free: 7.395 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.964e-06/1.075, allocations: 0 / 1.444 GB, free: 7.395 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.436e-05/1.075, allocations: 0 / 1.444 GB, free: 7.395 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.004652/1.08, allocations: 2.311 MB / 1.446 GB, free: 5.023 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/1.08, allocations: 16.88 kB / 1.446 GB, free: 5.008 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001757/1.082, allocations: 350.5 kB / 1.447 GB, free: 4.664 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002574/1.084, allocations: 1.434 MB / 1.448 GB, free: 3.176 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.547e-05/1.084, allocations: 86.16 kB / 1.448 GB, free: 3.09 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/1.085, allocations: 127.9 kB / 1.448 GB, free: 2.965 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002179/1.087, allocations: 1.217 MB / 1.449 GB, free: 1.699 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/1.087, allocations: 0 / 1.449 GB, free: 1.699 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/1.087, allocations: 48 kB / 1.45 GB, free: 1.652 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-05/1.087, allocations: 42.12 kB / 1.45 GB, free: 1.609 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00179/1.089, allocations: 0.957 MB / 1.45 GB, free: 0.6445 MB / 1.17 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.007271/1.096, allocations: 5.56 MB / 1.456 GB, free: 10.64 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/1.097, allocations: 0.8731 MB / 1.457 GB, free: 9.723 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006785/1.098, allocations: 405 kB / 1.457 GB, free: 9.324 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005969/1.099, allocations: 0.6057 MB / 1.458 GB, free: 8.59 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/1.099, allocations: 47.05 kB / 1.458 GB, free: 8.535 MB / 1.186 GB Notification: Performance of pre-optimization done (n=70): time 2.715e-06/1.099, allocations: 0 / 1.458 GB, free: 8.535 MB / 1.186 GB Notification: Performance of matching and sorting (n=70): time 0.003756/1.103, allocations: 1.423 MB / 1.459 GB, free: 7.066 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/1.103, allocations: 63.91 kB / 1.459 GB, free: 6.992 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001614/1.104, allocations: 1.214 MB / 1.46 GB, free: 5.766 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001059/1.104, allocations: 45.7 kB / 1.46 GB, free: 5.715 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005645/1.105, allocations: 0.6938 MB / 1.461 GB, free: 5.016 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002417/1.105, allocations: 261.7 kB / 1.461 GB, free: 4.758 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002444/1.105, allocations: 158.6 kB / 1.462 GB, free: 4.598 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001315/1.106, allocations: 341.9 kB / 1.462 GB, free: 4.258 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006076/1.106, allocations: 304.7 kB / 1.462 GB, free: 3.957 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007692/1.107, allocations: 0.5101 MB / 1.463 GB, free: 3.375 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001265/1.108, allocations: 0.7419 MB / 1.463 GB, free: 2.602 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/1.108, allocations: 3.984 kB / 1.463 GB, free: 2.598 MB / 1.186 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00244/1.111, allocations: 1.084 MB / 1.464 GB, free: 1.5 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/1.111, allocations: 6.344 kB / 1.464 GB, free: 1.496 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/1.111, allocations: 4 kB / 1.464 GB, free: 1.492 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007969/1.112, allocations: 149.7 kB / 1.465 GB, free: 1.34 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007976/1.112, allocations: 187.6 kB / 1.465 GB, free: 1.156 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001175/1.114, allocations: 1.753 MB / 1.467 GB, free: 15.33 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/1.115, allocations: 99.62 kB / 1.467 GB, free: 15.23 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-05/1.115, allocations: 39.92 kB / 1.467 GB, free: 15.19 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00105/1.116, allocations: 0.5839 MB / 1.467 GB, free: 14.6 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007444/1.117, allocations: 0.4963 MB / 1.468 GB, free: 14.03 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001245/1.118, allocations: 0.7146 MB / 1.468 GB, free: 13.28 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.761e-06/1.118, allocations: 4 kB / 1.468 GB, free: 13.28 MB / 1.201 GB Notification: Performance of matching and sorting (n=97) (initialization_lambda0): time 0.002026/1.12, allocations: 1.01 MB / 1.469 GB, free: 12.26 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/1.12, allocations: 8 kB / 1.469 GB, free: 12.25 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/1.12, allocations: 7.938 kB / 1.469 GB, free: 12.24 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002943/1.12, allocations: 93.64 kB / 1.469 GB, free: 12.14 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006883/1.121, allocations: 159.9 kB / 1.47 GB, free: 11.99 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003079/1.124, allocations: 3.477 MB / 1.473 GB, free: 8.227 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/1.125, allocations: 95.5 kB / 1.473 GB, free: 8.133 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/1.125, allocations: 31.98 kB / 1.473 GB, free: 8.102 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (87): * Single equations (assignments): 83 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002981/1.126, allocations: 224.2 kB / 1.473 GB, free: 7.875 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004064/1.126, allocations: 151.1 kB / 1.474 GB, free: 7.727 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002017/1.128, allocations: 0.9377 MB / 1.474 GB, free: 6.77 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001555/1.13, allocations: 1.063 MB / 1.475 GB, free: 5.617 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/1.13, allocations: 0 / 1.475 GB, free: 5.617 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006152/1.13, allocations: 315.9 kB / 1.476 GB, free: 5.289 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002455/1.131, allocations: 12.14 kB / 1.476 GB, free: 5.277 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009288/1.132, allocations: 45.08 kB / 1.476 GB, free: 5.234 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/1.132, allocations: 56.55 kB / 1.476 GB, free: 5.176 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002443/1.134, allocations: 0.9718 MB / 1.477 GB, free: 4.188 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002508/1.137, allocations: 1.38 MB / 1.478 GB, free: 2.793 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000653/1.137, allocations: 341 kB / 1.478 GB, free: 2.461 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001403/1.139, allocations: 0.832 MB / 1.479 GB, free: 1.629 MB / 1.201 GB Notification: Performance of Backend: time 4.01e-07/1.139, allocations: 0 / 1.479 GB, free: 1.629 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.005331/1.144, allocations: 1.825 MB / 1.481 GB, free: 15.79 MB / 1.217 GB Notification: Performance of SimCode: time 0.006986/1.151, allocations: 3.66 MB / 1.485 GB, free: 12.08 MB / 1.217 GB Notification: Performance of Templates: time 0.05914/1.21, allocations: 34.96 MB / 1.519 GB, free: 9.453 MB / 1.248 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches