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.00159/0.00159, allocations: 115.7 kB / 16.42 MB, free: 6.516 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.001808/0.001808, allocations: 190.6 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.647/2.647, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 67.91 kB / 1.055 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9013/0.9029, allocations: 157.4 MB / 1.208 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible): time 0.2554/1.158, allocations: 248.4 MB / 1.451 GB, free: 4.504 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01785/1.176, allocations: 11.99 MB / 1.463 GB, free: 8.48 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002944/1.179, allocations: 75.56 kB / 1.463 GB, free: 8.406 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.003252/1.183, allocations: 1.044 MB / 1.464 GB, free: 7.355 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.01168/1.194, allocations: 3.199 MB / 1.467 GB, free: 4.145 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.006132/1.2, allocations: 1.552 MB / 1.468 GB, free: 2.605 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.01134/1.212, allocations: 4.71 MB / 1.473 GB, free: 13.88 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003905/1.216, allocations: 1.52 MB / 1.475 GB, free: 12.32 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007206/1.223, allocations: 2.111 MB / 1.477 GB, free: 10.2 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003454/1.226, allocations: 1.323 MB / 1.478 GB, free: 8.879 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0007872/1.227, allocations: 156 kB / 1.478 GB, free: 8.727 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007244/1.235, allocations: 2.276 MB / 1.48 GB, free: 6.445 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001363/1.236, allocations: 0.5295 MB / 1.481 GB, free: 5.914 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.002856/1.239, allocations: 0.9992 MB / 1.482 GB, free: 4.91 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.008921/1.248, allocations: 3.283 MB / 1.485 GB, free: 1.617 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/1.248, allocations: 0 / 1.485 GB, free: 1.617 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.734e-06/1.248, allocations: 0 / 1.485 GB, free: 1.617 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001055/1.248, allocations: 4 kB / 1.485 GB, free: 1.613 MB / 1.201 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.007778/1.256, allocations: 2.245 MB / 1.487 GB, free: 15.31 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/1.256, allocations: 12.03 kB / 1.487 GB, free: 15.3 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00288/1.259, allocations: 349.5 kB / 1.488 GB, free: 14.96 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004393/1.263, allocations: 1.417 MB / 1.489 GB, free: 13.48 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/1.263, allocations: 86.16 kB / 1.489 GB, free: 13.4 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003967/1.264, allocations: 127.8 kB / 1.489 GB, free: 13.27 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003905/1.268, allocations: 1.213 MB / 1.49 GB, free: 12.01 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.036e-05/1.268, allocations: 4 kB / 1.49 GB, free: 12.01 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001685/1.268, allocations: 43.94 kB / 1.49 GB, free: 11.96 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.97e-05/1.268, allocations: 50.08 kB / 1.49 GB, free: 11.91 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003143/1.271, allocations: 0.957 MB / 1.491 GB, free: 10.95 MB / 1.217 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.01141/1.282, allocations: 5.54 MB / 1.497 GB, free: 4.973 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0021/1.285, allocations: 0.8669 MB / 1.498 GB, free: 4.062 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009693/1.286, allocations: 413.5 kB / 1.498 GB, free: 3.66 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007796/1.286, allocations: 0.6058 MB / 1.499 GB, free: 2.926 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.901e-05/1.286, allocations: 43.11 kB / 1.499 GB, free: 2.871 MB / 1.217 GB Notification: Performance of pre-optimization done (n=70): time 4.198e-06/1.286, allocations: 0 / 1.499 GB, free: 2.871 MB / 1.217 GB Notification: Performance of matching and sorting (n=70): time 0.005352/1.292, allocations: 1.426 MB / 1.5 GB, free: 1.398 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/1.292, allocations: 67.89 kB / 1.5 GB, free: 1.32 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002847/1.295, allocations: 1.202 MB / 1.501 GB, free: 108 kB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001408/1.295, allocations: 49.7 kB / 1.501 GB, free: 52 kB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008952/1.296, allocations: 0.6811 MB / 1.502 GB, free: 15.36 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004237/1.296, allocations: 248.3 kB / 1.502 GB, free: 15.12 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004044/1.297, allocations: 158.6 kB / 1.502 GB, free: 14.96 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0003216/1.297, allocations: 338 kB / 1.503 GB, free: 14.62 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/1.298, allocations: 308.7 kB / 1.503 GB, free: 14.32 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/1.299, allocations: 0.508 MB / 1.503 GB, free: 13.73 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/1.301, allocations: 0.738 MB / 1.504 GB, free: 12.96 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/1.301, allocations: 7.938 kB / 1.504 GB, free: 12.95 MB / 1.232 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002824/1.303, allocations: 1.067 MB / 1.505 GB, free: 11.87 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/1.303, allocations: 8 kB / 1.505 GB, free: 11.86 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/1.303, allocations: 4 kB / 1.505 GB, free: 11.86 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007765/1.304, allocations: 157.7 kB / 1.505 GB, free: 11.7 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008003/1.305, allocations: 171.7 kB / 1.506 GB, free: 11.53 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/1.306, allocations: 1.765 MB / 1.507 GB, free: 9.688 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/1.308, allocations: 107.4 kB / 1.507 GB, free: 9.582 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-05/1.308, allocations: 27.98 kB / 1.507 GB, free: 9.555 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00109/1.309, allocations: 0.58 MB / 1.508 GB, free: 8.973 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000776/1.31, allocations: 0.5041 MB / 1.508 GB, free: 8.395 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001261/1.311, allocations: 0.7146 MB / 1.509 GB, free: 7.648 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.377e-06/1.311, allocations: 3.938 kB / 1.509 GB, free: 7.645 MB / 1.232 GB Notification: Performance of matching and sorting (n=97) (initialization_lambda0): time 0.002134/1.313, allocations: 1.005 MB / 1.51 GB, free: 6.629 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/1.313, allocations: 8 kB / 1.51 GB, free: 6.621 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/1.313, allocations: 3.938 kB / 1.51 GB, free: 6.617 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002935/1.313, allocations: 93.66 kB / 1.51 GB, free: 6.52 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006395/1.314, allocations: 152 kB / 1.51 GB, free: 6.371 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003233/1.317, allocations: 3.484 MB / 1.514 GB, free: 2.598 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/1.319, allocations: 95.31 kB / 1.514 GB, free: 2.504 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.553e-05/1.319, allocations: 28 kB / 1.514 GB, free: 2.477 MB / 1.232 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.0002737/1.319, allocations: 235.7 kB / 1.514 GB, free: 2.242 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003615/1.319, allocations: 142.3 kB / 1.514 GB, free: 2.102 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001954/1.321, allocations: 0.9335 MB / 1.515 GB, free: 1.148 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001603/1.323, allocations: 1.059 MB / 1.516 GB, free: 15.99 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/1.323, allocations: 4 kB / 1.516 GB, free: 15.99 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005914/1.323, allocations: 315 kB / 1.517 GB, free: 15.66 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002249/1.324, allocations: 12 kB / 1.517 GB, free: 15.65 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008906/1.325, allocations: 47.89 kB / 1.517 GB, free: 15.61 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/1.325, allocations: 48.58 kB / 1.517 GB, free: 15.56 MB / 1.248 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00226/1.327, allocations: 0.9679 MB / 1.518 GB, free: 14.58 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002313/1.329, allocations: 1.384 MB / 1.519 GB, free: 13.17 MB / 1.248 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006351/1.33, allocations: 333 kB / 1.519 GB, free: 12.85 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.00134/1.331, allocations: 0.8282 MB / 1.52 GB, free: 12.02 MB / 1.248 GB Notification: Performance of Backend: time 5.91e-07/1.331, allocations: 0 / 1.52 GB, free: 12.02 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.004682/1.336, allocations: 1.807 MB / 1.522 GB, free: 10.2 MB / 1.248 GB Notification: Performance of SimCode: time 0.006742/1.343, allocations: 3.632 MB / 1.525 GB, free: 6.527 MB / 1.248 GB Notification: Performance of Templates: time 0.06265/1.405, allocations: 35.59 MB / 1.56 GB, free: 3.32 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