Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 109.1 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001948/0.001948, allocations: 208 kB / 23 MB, free: 4.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.611/1.611, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.534/3.534, allocations: 0.49 GB / 0.7959 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 74 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4966/0.4987, allocations: 176.1 MB / 1.327 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible): time 0.3238/0.8225, allocations: 221.4 MB / 1.543 GB, free: 2.785 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.0241/0.8466, allocations: 11.22 MB / 1.554 GB, free: 7.539 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004294/0.8509, allocations: 111 kB / 1.554 GB, free: 7.43 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.00413/0.855, allocations: 1.029 MB / 1.555 GB, free: 6.395 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.01247/0.8675, allocations: 3.357 MB / 1.559 GB, free: 3.027 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.0056/0.8731, allocations: 1.604 MB / 1.56 GB, free: 1.434 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.009793/0.8829, allocations: 4.825 MB / 1.565 GB, free: 12.59 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002898/0.8858, allocations: 1.205 MB / 1.566 GB, free: 11.35 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008374/0.8941, allocations: 2.505 MB / 1.569 GB, free: 8.84 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003867/0.898, allocations: 1.381 MB / 1.57 GB, free: 7.457 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0005788/0.8986, allocations: 156 kB / 1.57 GB, free: 7.305 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008006/0.9066, allocations: 1.871 MB / 1.572 GB, free: 5.43 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.001453/0.908, allocations: 0.5527 MB / 1.572 GB, free: 4.875 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.002775/0.9108, allocations: 0.8167 MB / 1.573 GB, free: 4.055 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.01171/0.9225, allocations: 3.286 MB / 1.576 GB, free: 0.7578 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 1.219e-05/0.9225, allocations: 0 / 1.576 GB, free: 0.7578 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.866e-06/0.9225, allocations: 0 / 1.576 GB, free: 0.7578 MB / 1.264 GB Notification: Performance of Transformations before backend: time 9.116e-05/0.9226, allocations: 0 / 1.576 GB, free: 0.7578 MB / 1.264 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.008056/0.9307, allocations: 2.247 MB / 1.579 GB, free: 14.47 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 7.726e-05/0.9308, allocations: 8.031 kB / 1.579 GB, free: 14.46 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00337/0.9341, allocations: 362.5 kB / 1.579 GB, free: 14.11 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006045/0.9402, allocations: 1.362 MB / 1.58 GB, free: 12.7 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002323/0.9404, allocations: 90.16 kB / 1.58 GB, free: 12.61 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003781/0.9408, allocations: 116 kB / 1.58 GB, free: 12.49 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005109/0.9459, allocations: 1.471 MB / 1.582 GB, free: 10.91 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.032e-05/0.946, allocations: 7.953 kB / 1.582 GB, free: 10.9 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001925/0.9462, allocations: 44 kB / 1.582 GB, free: 10.86 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001865/0.9463, allocations: 46.06 kB / 1.582 GB, free: 10.81 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003674/0.95, allocations: 0.9531 MB / 1.583 GB, free: 9.852 MB / 1.279 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.01302/0.963, allocations: 3.477 MB / 1.586 GB, free: 6.293 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002448/0.9655, allocations: 0.6828 MB / 1.587 GB, free: 5.605 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001208/0.9667, allocations: 382 kB / 1.587 GB, free: 5.234 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006568/0.9673, allocations: 80.55 kB / 1.587 GB, free: 5.156 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.632e-05/0.9674, allocations: 43.2 kB / 1.587 GB, free: 5.102 MB / 1.279 GB Notification: Performance of pre-optimization done (n=70): time 6.532e-06/0.9674, allocations: 4 kB / 1.588 GB, free: 5.098 MB / 1.279 GB Notification: Performance of matching and sorting (n=70): time 0.007028/0.9745, allocations: 1.275 MB / 1.589 GB, free: 3.812 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.573e-05/0.9745, allocations: 60.06 kB / 1.589 GB, free: 3.742 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003127/0.9777, allocations: 1.119 MB / 1.59 GB, free: 2.605 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0002239/0.9779, allocations: 41.7 kB / 1.59 GB, free: 2.559 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001096/0.979, allocations: 0.6972 MB / 1.591 GB, free: 1.855 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005164/0.9795, allocations: 261.7 kB / 1.591 GB, free: 1.598 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004811/0.98, allocations: 162.6 kB / 1.591 GB, free: 1.434 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0002899/0.9803, allocations: 337.9 kB / 1.591 GB, free: 1.098 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001194/0.9815, allocations: 312.7 kB / 1.592 GB, free: 0.7891 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002089/0.9835, allocations: 0.981 MB / 1.593 GB, free: 15.61 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002578/0.9861, allocations: 0.7457 MB / 1.593 GB, free: 14.84 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.304e-05/0.9861, allocations: 4 kB / 1.593 GB, free: 14.83 MB / 1.295 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.004903/0.991, allocations: 1.064 MB / 1.594 GB, free: 13.75 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 4.262e-05/0.9911, allocations: 12 kB / 1.594 GB, free: 13.74 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.9911, allocations: 0 / 1.594 GB, free: 13.74 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001478/0.9926, allocations: 149.6 kB / 1.595 GB, free: 13.59 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001575/0.9942, allocations: 171.8 kB / 1.595 GB, free: 13.42 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002408/0.9966, allocations: 1.776 MB / 1.596 GB, free: 11.57 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002396/0.999, allocations: 83.58 kB / 1.597 GB, free: 11.48 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/0.9991, allocations: 32.2 kB / 1.597 GB, free: 11.45 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002106/1.001, allocations: 0.5877 MB / 1.597 GB, free: 10.86 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00188/1.003, allocations: 0.9848 MB / 1.598 GB, free: 9.688 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002329/1.005, allocations: 0.7185 MB / 1.599 GB, free: 8.934 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.302e-06/1.005, allocations: 0 / 1.599 GB, free: 8.934 MB / 1.295 GB Notification: Performance of matching and sorting (n=97) (initialization_lambda0): time 0.004194/1.01, allocations: 1.002 MB / 1.6 GB, free: 7.922 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/1.01, allocations: 8.062 kB / 1.6 GB, free: 7.914 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/1.01, allocations: 4 kB / 1.6 GB, free: 7.91 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005451/1.01, allocations: 93.64 kB / 1.6 GB, free: 7.812 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/1.011, allocations: 155.7 kB / 1.6 GB, free: 7.66 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005452/1.017, allocations: 3.169 MB / 1.603 GB, free: 4.293 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002528/1.019, allocations: 95.69 kB / 1.603 GB, free: 4.199 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001301/1.02, allocations: 24 kB / 1.603 GB, free: 4.176 MB / 1.295 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.0005225/1.02, allocations: 228.1 kB / 1.603 GB, free: 3.945 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005784/1.021, allocations: 143 kB / 1.604 GB, free: 3.805 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003767/1.024, allocations: 0.9412 MB / 1.604 GB, free: 2.848 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00288/1.027, allocations: 1.051 MB / 1.606 GB, free: 1.703 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.862e-06/1.027, allocations: 4 kB / 1.606 GB, free: 1.699 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001204/1.028, allocations: 222.9 kB / 1.606 GB, free: 1.48 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002892/1.029, allocations: 19.94 kB / 1.606 GB, free: 1.461 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001403/1.03, allocations: 51.92 kB / 1.606 GB, free: 1.41 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000222/1.03, allocations: 52.55 kB / 1.606 GB, free: 1.359 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00379/1.034, allocations: 0.9602 MB / 1.607 GB, free: 392 kB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 1.127/2.162, allocations: 1.381 MB / 1.608 GB, free: 280.7 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007767/2.162, allocations: 318.4 kB / 1.608 GB, free: 280.7 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001719/2.164, allocations: 0.7546 MB / 1.609 GB, free: 280.6 MB / 1.295 GB Notification: Performance of Backend: time 1.062e-06/2.164, allocations: 0.5 kB / 1.609 GB, free: 280.6 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.005727/2.17, allocations: 1.729 MB / 1.611 GB, free: 280.3 MB / 1.295 GB Notification: Performance of SimCode: time 0.007202/2.177, allocations: 3.631 MB / 1.614 GB, free: 278.6 MB / 1.295 GB Notification: Performance of Templates: time 0.0671/2.244, allocations: 37.98 MB / 1.651 GB, free: 260.3 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.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: 13.261451029000455]