Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.001168/0.001168, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001959/0.00196, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.484/1.484, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.812/2.812, allocations: 469.4 MB / 0.7428 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002509/0.002509, allocations: 59.91 kB / 1.066 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8525/0.855, allocations: 159.1 MB / 1.221 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible): time 0.2487/1.104, allocations: 248.4 MB / 1.463 GB, free: 9.02 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02017/1.124, allocations: 11.99 MB / 1.475 GB, free: 13 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003345/1.127, allocations: 75.56 kB / 1.475 GB, free: 12.93 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.003243/1.131, allocations: 1.087 MB / 1.476 GB, free: 11.83 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.01025/1.141, allocations: 3.332 MB / 1.48 GB, free: 8.488 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.004947/1.146, allocations: 1.556 MB / 1.481 GB, free: 6.945 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.008169/1.154, allocations: 4.725 MB / 1.486 GB, free: 2.207 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002913/1.157, allocations: 1.52 MB / 1.487 GB, free: 0.6523 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005664/1.163, allocations: 2.135 MB / 1.489 GB, free: 14.51 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002659/1.165, allocations: 1.325 MB / 1.491 GB, free: 13.18 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0003662/1.166, allocations: 160 kB / 1.491 GB, free: 13.03 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005373/1.171, allocations: 2.272 MB / 1.493 GB, free: 10.75 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0007458/1.172, allocations: 0.5334 MB / 1.493 GB, free: 10.21 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001795/1.174, allocations: 0.9992 MB / 1.494 GB, free: 9.211 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.006801/1.181, allocations: 3.287 MB / 1.498 GB, free: 5.914 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/1.181, allocations: 0 / 1.498 GB, free: 5.914 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.145e-06/1.181, allocations: 0 / 1.498 GB, free: 5.914 MB / 1.217 GB Notification: Performance of Transformations before backend: time 3.69e-05/1.181, allocations: 0 / 1.498 GB, free: 5.914 MB / 1.217 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.004647/1.185, allocations: 2.247 MB / 1.5 GB, free: 3.609 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/1.185, allocations: 12.61 kB / 1.5 GB, free: 3.598 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001755/1.187, allocations: 349.4 kB / 1.5 GB, free: 3.254 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002898/1.19, allocations: 1.427 MB / 1.502 GB, free: 1.773 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.319e-05/1.19, allocations: 90.14 kB / 1.502 GB, free: 1.684 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003112/1.19, allocations: 116 kB / 1.502 GB, free: 1.57 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00299/1.193, allocations: 1.209 MB / 1.503 GB, free: 320 kB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.137e-05/1.193, allocations: 0 / 1.503 GB, free: 320 kB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/1.194, allocations: 47.94 kB / 1.503 GB, free: 272 kB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.859e-05/1.194, allocations: 46.14 kB / 1.503 GB, free: 224 kB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001913/1.196, allocations: 0.957 MB / 1.504 GB, free: 15.25 MB / 1.232 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.009148/1.205, allocations: 5.544 MB / 1.509 GB, free: 9.266 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001764/1.207, allocations: 0.8771 MB / 1.51 GB, free: 8.344 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006675/1.207, allocations: 409 kB / 1.511 GB, free: 7.945 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006401/1.208, allocations: 0.6018 MB / 1.511 GB, free: 7.215 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001578/1.208, allocations: 39.12 kB / 1.511 GB, free: 7.168 MB / 1.232 GB Notification: Performance of pre-optimization done (n=70): time 3.296e-06/1.208, allocations: 0 / 1.511 GB, free: 7.168 MB / 1.232 GB Notification: Performance of matching and sorting (n=70): time 0.00395/1.212, allocations: 1.434 MB / 1.513 GB, free: 5.688 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/1.212, allocations: 55.97 kB / 1.513 GB, free: 5.621 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002051/1.214, allocations: 1.222 MB / 1.514 GB, free: 4.387 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001238/1.214, allocations: 41.7 kB / 1.514 GB, free: 4.34 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006382/1.215, allocations: 0.6811 MB / 1.515 GB, free: 3.652 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002446/1.215, allocations: 244.4 kB / 1.515 GB, free: 3.41 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000287/1.215, allocations: 170.4 kB / 1.515 GB, free: 3.238 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001309/1.216, allocations: 334 kB / 1.515 GB, free: 2.906 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006215/1.216, allocations: 308.6 kB / 1.516 GB, free: 2.602 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009378/1.217, allocations: 0.5042 MB / 1.516 GB, free: 2.023 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0014/1.219, allocations: 0.7457 MB / 1.517 GB, free: 1.246 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/1.219, allocations: 0 / 1.517 GB, free: 1.246 MB / 1.232 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002619/1.221, allocations: 1.071 MB / 1.518 GB, free: 160 kB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/1.221, allocations: 8 kB / 1.518 GB, free: 152 kB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/1.221, allocations: 160 / 1.518 GB, free: 152 kB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008431/1.222, allocations: 161.5 kB / 1.518 GB, free: 15.98 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008468/1.223, allocations: 171.7 kB / 1.518 GB, free: 15.82 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/1.224, allocations: 1.761 MB / 1.52 GB, free: 13.98 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/1.226, allocations: 107.1 kB / 1.52 GB, free: 13.88 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.009e-05/1.226, allocations: 28 kB / 1.52 GB, free: 13.85 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001208/1.227, allocations: 0.5839 MB / 1.521 GB, free: 13.26 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009295/1.228, allocations: 0.504 MB / 1.521 GB, free: 12.68 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001414/1.229, allocations: 0.7185 MB / 1.522 GB, free: 11.93 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.166e-06/1.229, allocations: 0 / 1.522 GB, free: 11.93 MB / 1.248 GB Notification: Performance of matching and sorting (n=97) (initialization_lambda0): time 0.00221/1.231, allocations: 1.005 MB / 1.523 GB, free: 10.91 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/1.231, allocations: 4 kB / 1.523 GB, free: 10.91 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.609e-06/1.231, allocations: 7.938 kB / 1.523 GB, free: 10.9 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003014/1.232, allocations: 89.66 kB / 1.523 GB, free: 10.81 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007141/1.232, allocations: 156 kB / 1.523 GB, free: 10.66 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003543/1.236, allocations: 3.484 MB / 1.526 GB, free: 6.879 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/1.237, allocations: 91.41 kB / 1.527 GB, free: 6.789 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/1.237, allocations: 28 kB / 1.527 GB, free: 6.762 MB / 1.248 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.0003228/1.238, allocations: 232.1 kB / 1.527 GB, free: 6.527 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005041/1.238, allocations: 138.3 kB / 1.527 GB, free: 6.391 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002106/1.24, allocations: 0.9434 MB / 1.528 GB, free: 5.43 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001677/1.242, allocations: 1.055 MB / 1.529 GB, free: 4.281 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/1.242, allocations: 0 / 1.529 GB, free: 4.281 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007391/1.243, allocations: 307.2 kB / 1.529 GB, free: 3.961 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002726/1.243, allocations: 16 kB / 1.529 GB, free: 3.945 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009555/1.244, allocations: 47.88 kB / 1.529 GB, free: 3.898 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/1.244, allocations: 52.58 kB / 1.529 GB, free: 3.848 MB / 1.248 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002246/1.247, allocations: 0.9678 MB / 1.53 GB, free: 2.867 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002435/1.249, allocations: 1.383 MB / 1.532 GB, free: 1.465 MB / 1.248 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005714/1.25, allocations: 333 kB / 1.532 GB, free: 1.141 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001295/1.251, allocations: 0.8282 MB / 1.533 GB, free: 320 kB / 1.248 GB Notification: Performance of Backend: time 6.51e-07/1.251, allocations: 0 / 1.533 GB, free: 320 kB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.004294/1.255, allocations: 1.828 MB / 1.534 GB, free: 14.47 MB / 1.264 GB Notification: Performance of SimCode: time 0.006027/1.261, allocations: 3.606 MB / 1.538 GB, free: 10.82 MB / 1.264 GB Notification: Performance of Templates: time 0.596/1.857, allocations: 34.96 MB / 1.572 GB, free: 338.4 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches