Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.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.001769/0.001769, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.002208/0.002208, allocations: 210.5 kB / 23 MB, free: 4.934 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.605/1.605, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.515/3.515, allocations: 0.49 GB / 0.7959 GB, free: 35.51 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.HexElementLatentLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hex.sta_a1.T|hex.sta_b1.T|hex.sta_a2.T|hex.sta_b2.T|TSur.y|hex.sta_b2.X.1.|humRatPre.X_w",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hex.sta_a1.T|hex.sta_b1.T|hex.sta_a2.T|hex.sta_b2.T|TSur.y|hex.sta_b2.X.1.|humRatPre.X_w",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop") [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.002508/0.002508, allocations: 73.69 kB / 1.155 GB, free: 25.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5072/0.5097, allocations: 176.1 MB / 1.327 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop): time 0.363/0.8727, allocations: 253.6 MB / 1.575 GB, free: 2.457 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.04224/0.9149, allocations: 21.55 MB / 1.596 GB, free: 12.86 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006502/0.9214, allocations: 158.7 kB / 1.596 GB, free: 12.7 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.009268/0.9307, allocations: 2.507 MB / 1.598 GB, free: 10.18 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.01991/0.9506, allocations: 5.664 MB / 1.604 GB, free: 4.496 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01008/0.9607, allocations: 2.897 MB / 1.607 GB, free: 1.609 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 1.288/2.249, allocations: 10.18 MB / 1.617 GB, free: 30.94 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00528/2.254, allocations: 2.13 MB / 1.619 GB, free: 30.76 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0146/2.269, allocations: 4.232 MB / 1.623 GB, free: 30.76 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008421/2.277, allocations: 2.371 MB / 1.625 GB, free: 30.76 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.00203/2.279, allocations: 283.6 kB / 1.625 GB, free: 30.76 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01325/2.292, allocations: 3.564 MB / 1.629 GB, free: 30.76 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.003701/2.296, allocations: 1.126 MB / 1.63 GB, free: 30.76 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.007603/2.304, allocations: 1.444 MB / 1.631 GB, free: 30.76 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.02045/2.324, allocations: 6.287 MB / 1.638 GB, free: 30.11 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/2.324, allocations: 0 / 1.638 GB, free: 30.11 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.634e-06/2.324, allocations: 2.125 kB / 1.638 GB, free: 30.11 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0002479/2.324, allocations: 0 / 1.638 GB, free: 30.11 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 0.01705/2.341, allocations: 3.946 MB / 1.641 GB, free: 28.28 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 6.478e-05/2.342, allocations: 12.7 kB / 1.641 GB, free: 28.28 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007694/2.349, allocations: 0.8302 MB / 1.642 GB, free: 28.08 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009994/2.359, allocations: 3.171 MB / 1.645 GB, free: 27.46 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002317/2.359, allocations: 145.2 kB / 1.646 GB, free: 27.46 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001099/2.361, allocations: 192 kB / 1.646 GB, free: 27.46 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007615/2.368, allocations: 2.585 MB / 1.648 GB, free: 26.86 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-05/2.368, allocations: 6.125 kB / 1.648 GB, free: 26.86 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005429/2.369, allocations: 77.97 kB / 1.648 GB, free: 26.86 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001049/2.369, allocations: 77.8 kB / 1.648 GB, free: 26.86 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00495/2.374, allocations: 1.964 MB / 1.65 GB, free: 26.84 MB / 1.295 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.0225/2.396, allocations: 7.049 MB / 1.657 GB, free: 24.62 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002411/2.399, allocations: 1.03 MB / 1.658 GB, free: 24.59 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001054/2.4, allocations: 0.5468 MB / 1.659 GB, free: 24.58 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006202/2.4, allocations: 115.3 kB / 1.659 GB, free: 24.58 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.532e-05/2.4, allocations: 48.94 kB / 1.659 GB, free: 24.54 MB / 1.295 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001969/2.402, allocations: 157 kB / 1.659 GB, free: 24.48 MB / 1.295 GB Notification: Performance of pre-optimization done (n=99): time 8.045e-06/2.402, allocations: 0.9062 kB / 1.659 GB, free: 24.48 MB / 1.295 GB Notification: Performance of matching and sorting (n=101): time 0.0124/2.415, allocations: 3.837 MB / 1.663 GB, free: 23.74 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/2.415, allocations: 65.06 kB / 1.663 GB, free: 23.68 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004863/2.42, allocations: 2.406 MB / 1.665 GB, free: 23.39 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.00025/2.42, allocations: 55.42 kB / 1.665 GB, free: 23.36 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001172/2.421, allocations: 1.347 MB / 1.667 GB, free: 22.86 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005002/2.422, allocations: 382 kB / 1.667 GB, free: 22.62 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008739/2.423, allocations: 395.1 kB / 1.667 GB, free: 22.59 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 6.329e-05/2.423, allocations: 307.3 kB / 1.668 GB, free: 22.29 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/2.424, allocations: 0.6843 MB / 1.668 GB, free: 22.27 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001789/2.426, allocations: 1.539 MB / 1.67 GB, free: 21.29 MB / 1.295 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start (sin_2.p = fan.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01308/2.439, allocations: 3.74 MB / 1.673 GB, free: 20.73 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.956e-05/2.439, allocations: 6.812 kB / 1.673 GB, free: 20.73 MB / 1.295 GB Notification: Performance of matching and sorting (n=248) (initialization): time 0.005695/2.445, allocations: 2.32 MB / 1.676 GB, free: 20.54 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 5.143e-05/2.445, allocations: 14.88 kB / 1.676 GB, free: 20.54 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-05/2.445, allocations: 16.41 kB / 1.676 GB, free: 20.54 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00167/2.446, allocations: 313 kB / 1.676 GB, free: 20.53 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001685/2.448, allocations: 354.1 kB / 1.676 GB, free: 20.53 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/2.449, allocations: 0.9607 MB / 1.677 GB, free: 20 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003369/2.453, allocations: 96.05 kB / 1.677 GB, free: 19.99 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004058/2.453, allocations: 79.94 kB / 1.677 GB, free: 19.99 MB / 1.295 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003492/2.456, allocations: 1.27 MB / 1.679 GB, free: 19.9 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002376/2.459, allocations: 1.544 MB / 1.68 GB, free: 18.92 MB / 1.295 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start (sin_2.p = fan.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01343/2.472, allocations: 3.733 MB / 1.684 GB, free: 18.35 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.165e-05/2.472, allocations: 5.844 kB / 1.684 GB, free: 18.35 MB / 1.295 GB Notification: Performance of matching and sorting (n=248) (initialization_lambda0): time 0.006426/2.479, allocations: 2.314 MB / 1.686 GB, free: 18.12 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 4.616e-05/2.479, allocations: 13.19 kB / 1.686 GB, free: 18.12 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.643e-05/2.479, allocations: 15.95 kB / 1.686 GB, free: 18.12 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001649/2.481, allocations: 322.4 kB / 1.686 GB, free: 18.1 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0016/2.482, allocations: 347.6 kB / 1.687 GB, free: 18.1 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001144/2.483, allocations: 0.9666 MB / 1.688 GB, free: 17.57 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00361/2.487, allocations: 92.34 kB / 1.688 GB, free: 17.56 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004555/2.487, allocations: 83.5 kB / 1.688 GB, free: 17.56 MB / 1.295 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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 (192): * Single equations (assignments): 188 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(2,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0008638/2.488, allocations: 286.5 kB / 1.688 GB, free: 17.37 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001122/2.489, allocations: 265.5 kB / 1.688 GB, free: 17.22 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003384/2.493, allocations: 1.464 MB / 1.69 GB, free: 17.08 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001835/2.495, allocations: 1.049 MB / 1.691 GB, free: 16.98 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/2.495, allocations: 0 / 1.691 GB, free: 16.98 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00202/2.497, allocations: 383 kB / 1.691 GB, free: 16.84 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001093/2.498, allocations: 16.16 kB / 1.691 GB, free: 16.84 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002086/2.5, allocations: 44.77 kB / 1.691 GB, free: 16.84 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/2.5, allocations: 56.33 kB / 1.691 GB, free: 16.84 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003444/2.503, allocations: 1.409 MB / 1.693 GB, free: 16.67 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003704/2.507, allocations: 1.927 MB / 1.695 GB, free: 16.26 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008365/2.508, allocations: 471.8 kB / 1.695 GB, free: 16.26 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.004001/2.512, allocations: 1.587 MB / 1.697 GB, free: 16.11 MB / 1.295 GB Notification: Performance of Backend: time 3.01e-07/2.512, allocations: 4 kB / 1.697 GB, free: 16.11 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01301/2.525, allocations: 3.165 MB / 1.7 GB, free: 15.76 MB / 1.295 GB Notification: Performance of SimCode: time 0.01616/2.541, allocations: 6.085 MB / 1.706 GB, free: 13.23 MB / 1.295 GB Notification: Performance of Templates: time 0.1219/2.663, allocations: 71.31 MB / 1.775 GB, free: 15.21 MB / 1.342 GB " [Timeout remaining time 297] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.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: 14.292306000999815]