Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001068/0.001068, allocations: 115.5 kB / 16.42 MB, free: 5.988 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.00102/0.00102, allocations: 184.5 kB / 17.35 MB, free: 5.602 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.321/1.321, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.301/2.301, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 63.91 kB / 0.9516 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7004/0.7017, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible): time 0.2605/0.9623, allocations: 248.4 MB / 1.331 GB, free: 5.094 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01923/0.9816, allocations: 11.98 MB / 1.343 GB, free: 9.082 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002387/0.984, allocations: 83.44 kB / 1.343 GB, free: 9 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002568/0.9866, allocations: 1.091 MB / 1.344 GB, free: 7.902 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007601/0.9942, allocations: 3.332 MB / 1.347 GB, free: 4.559 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003544/0.9978, allocations: 1.558 MB / 1.349 GB, free: 3.016 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.005304/1.003, allocations: 4.726 MB / 1.353 GB, free: 14.28 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002131/1.005, allocations: 1.52 MB / 1.355 GB, free: 12.72 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004406/1.01, allocations: 2.143 MB / 1.357 GB, free: 10.57 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002135/1.012, allocations: 1.317 MB / 1.358 GB, free: 9.254 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.000353/1.012, allocations: 156 kB / 1.358 GB, free: 9.102 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004437/1.017, allocations: 2.276 MB / 1.361 GB, free: 6.82 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.000658/1.017, allocations: 0.5334 MB / 1.361 GB, free: 6.285 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001433/1.019, allocations: 0.9953 MB / 1.362 GB, free: 5.285 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005039/1.024, allocations: 3.283 MB / 1.365 GB, free: 1.992 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/1.024, allocations: 3.984 kB / 1.365 GB, free: 1.988 MB / 1.092 GB Notification: Performance of FrontEnd: time 4.819e-06/1.024, allocations: 8 kB / 1.365 GB, free: 1.98 MB / 1.092 GB Notification: Performance of Transformations before backend: time 6.379e-05/1.024, allocations: 3.938 kB / 1.365 GB, free: 1.977 MB / 1.092 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.004559/1.028, allocations: 2.243 MB / 1.368 GB, free: 15.68 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/1.029, allocations: 12.03 kB / 1.368 GB, free: 15.66 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001757/1.03, allocations: 349.4 kB / 1.368 GB, free: 15.32 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002509/1.033, allocations: 1.409 MB / 1.369 GB, free: 13.86 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.306e-05/1.033, allocations: 90.14 kB / 1.369 GB, free: 13.77 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001721/1.033, allocations: 120 kB / 1.37 GB, free: 13.65 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002111/1.035, allocations: 1.209 MB / 1.371 GB, free: 12.39 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.105e-05/1.035, allocations: 7.906 kB / 1.371 GB, free: 12.38 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/1.035, allocations: 40 kB / 1.371 GB, free: 12.34 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.787e-05/1.035, allocations: 50.12 kB / 1.371 GB, free: 12.29 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001813/1.037, allocations: 0.9569 MB / 1.372 GB, free: 11.33 MB / 1.107 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.006868/1.044, allocations: 5.54 MB / 1.377 GB, free: 5.348 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/1.045, allocations: 0.865 MB / 1.378 GB, free: 4.438 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006567/1.046, allocations: 417 kB / 1.378 GB, free: 4.027 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005645/1.047, allocations: 0.5979 MB / 1.379 GB, free: 3.301 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.833e-05/1.047, allocations: 43.12 kB / 1.379 GB, free: 3.25 MB / 1.107 GB Notification: Performance of pre-optimization done (n=70): time 2.495e-06/1.047, allocations: 0 / 1.379 GB, free: 3.25 MB / 1.107 GB Notification: Performance of matching and sorting (n=70): time 0.00363/1.05, allocations: 1.434 MB / 1.38 GB, free: 1.766 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/1.05, allocations: 59.97 kB / 1.38 GB, free: 1.695 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001772/1.052, allocations: 1.21 MB / 1.382 GB, free: 484 kB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 9.48e-05/1.052, allocations: 41.7 kB / 1.382 GB, free: 436 kB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005944/1.053, allocations: 0.6811 MB / 1.382 GB, free: 15.74 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002904/1.053, allocations: 245.8 kB / 1.383 GB, free: 15.5 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002814/1.054, allocations: 162.6 kB / 1.383 GB, free: 15.33 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001271/1.054, allocations: 337.9 kB / 1.383 GB, free: 14.99 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006038/1.054, allocations: 308.7 kB / 1.383 GB, free: 14.69 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007492/1.055, allocations: 0.5142 MB / 1.384 GB, free: 14.1 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/1.056, allocations: 0.738 MB / 1.385 GB, free: 13.33 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.261e-06/1.056, allocations: 4 kB / 1.385 GB, free: 13.33 MB / 1.123 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002447/1.059, allocations: 1.075 MB / 1.386 GB, free: 12.24 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/1.059, allocations: 14.27 kB / 1.386 GB, free: 12.23 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/1.059, allocations: 4 kB / 1.386 GB, free: 12.22 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008211/1.06, allocations: 157.6 kB / 1.386 GB, free: 12.06 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007951/1.06, allocations: 167.8 kB / 1.386 GB, free: 11.9 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/1.062, allocations: 1.765 MB / 1.388 GB, free: 10.06 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/1.063, allocations: 99.11 kB / 1.388 GB, free: 9.961 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.829e-05/1.063, allocations: 31.98 kB / 1.388 GB, free: 9.93 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009826/1.064, allocations: 0.5799 MB / 1.388 GB, free: 9.348 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000714/1.065, allocations: 0.5042 MB / 1.389 GB, free: 8.766 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001153/1.066, allocations: 0.7223 MB / 1.39 GB, free: 8.012 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.689e-06/1.066, allocations: 4.062 kB / 1.39 GB, free: 8.008 MB / 1.123 GB Notification: Performance of matching and sorting (n=97) (initialization_lambda0): time 0.001885/1.068, allocations: 1.001 MB / 1.391 GB, free: 6.988 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/1.068, allocations: 8 kB / 1.391 GB, free: 6.98 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/1.068, allocations: 0 / 1.391 GB, free: 6.98 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002722/1.068, allocations: 101.8 kB / 1.391 GB, free: 6.875 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006369/1.069, allocations: 155.8 kB / 1.391 GB, free: 6.723 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00284/1.071, allocations: 3.476 MB / 1.394 GB, free: 2.965 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/1.072, allocations: 91.53 kB / 1.394 GB, free: 2.875 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.119e-05/1.073, allocations: 32 kB / 1.394 GB, free: 2.844 MB / 1.123 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.0002403/1.073, allocations: 232 kB / 1.395 GB, free: 2.609 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002559/1.073, allocations: 146.2 kB / 1.395 GB, free: 2.465 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001799/1.075, allocations: 0.9418 MB / 1.396 GB, free: 1.504 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00147/1.076, allocations: 1.052 MB / 1.397 GB, free: 368 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/1.076, allocations: 7.938 kB / 1.397 GB, free: 360 kB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005247/1.077, allocations: 307.1 kB / 1.397 GB, free: 32 kB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001776/1.077, allocations: 16 kB / 1.397 GB, free: 16 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008387/1.078, allocations: 49.02 kB / 1.397 GB, free: 15.97 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/1.078, allocations: 52.58 kB / 1.397 GB, free: 15.91 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002156/1.08, allocations: 0.964 MB / 1.398 GB, free: 14.94 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00208/1.082, allocations: 1.379 MB / 1.399 GB, free: 13.54 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000569/1.083, allocations: 337 kB / 1.4 GB, free: 13.21 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.00109/1.084, allocations: 0.8243 MB / 1.4 GB, free: 12.39 MB / 1.139 GB Notification: Performance of Backend: time 1.81e-07/1.084, allocations: 0 / 1.4 GB, free: 12.39 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.004035/1.088, allocations: 1.834 MB / 1.402 GB, free: 10.55 MB / 1.139 GB Notification: Performance of SimCode: time 0.005687/1.094, allocations: 3.6 MB / 1.406 GB, free: 6.902 MB / 1.139 GB Notification: Performance of Templates: time 0.05282/1.147, allocations: 34.97 MB / 1.44 GB, free: 4.344 MB / 1.17 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches