Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.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.002326/0.002326, 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.002937/0.002937, allocations: 209.4 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.79/1.79, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.774/3.774, allocations: 0.49 GB / 0.7959 GB, free: 35.43 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.Examples.WetCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hex.Q2_flow|hex.QLat2_flow|hex.port_a2.m_flow|hex.port_b2.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hex.Q2_flow|hex.QLat2_flow|hex.port_a2.m_flow|hex.port_b2.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow") [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.002442/0.002442, allocations: 72.36 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.504/0.5064, allocations: 176.1 MB / 1.327 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow): time 0.3492/0.8557, allocations: 235.8 MB / 1.557 GB, free: 4.297 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.04111/0.8968, allocations: 19.76 MB / 1.577 GB, free: 500 kB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00691/0.9037, allocations: 123 kB / 1.577 GB, free: 376 kB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.005624/0.9093, allocations: 1.235 MB / 1.578 GB, free: 15.12 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.01819/0.9275, allocations: 4.242 MB / 1.582 GB, free: 10.87 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01125/0.9387, allocations: 2.801 MB / 1.585 GB, free: 8.07 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.03664/0.9754, allocations: 17.97 MB / 1.602 GB, free: 6.055 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01333/0.9887, allocations: 5.42 MB / 1.608 GB, free: 0.5352 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 1.405/2.393, allocations: 6.982 MB / 1.615 GB, free: 35.4 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02088/2.414, allocations: 5.376 MB / 1.62 GB, free: 35.4 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.006001/2.42, allocations: 0.8095 MB / 1.621 GB, free: 35.4 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01931/2.44, allocations: 3.953 MB / 1.624 GB, free: 35.4 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.007582/2.447, allocations: 2.31 MB / 1.627 GB, free: 35.12 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.01771/2.465, allocations: 3.307 MB / 1.63 GB, free: 34.39 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.04995/2.515, allocations: 14.03 MB / 1.644 GB, free: 32.96 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 9.338e-06/2.515, allocations: 2.438 kB / 1.644 GB, free: 32.96 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.424e-06/2.515, allocations: 2.688 kB / 1.644 GB, free: 32.96 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0007404/2.516, allocations: 0 / 1.644 GB, free: 32.96 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: 1189 * Number of variables: 1189 Notification: Performance of Generate backend data structure: time 0.0426/2.558, allocations: 8.043 MB / 1.651 GB, free: 29.93 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 7.872e-05/2.558, allocations: 13.38 kB / 1.651 GB, free: 29.93 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01387/2.572, allocations: 1.493 MB / 1.653 GB, free: 29.55 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02198/2.594, allocations: 6.43 MB / 1.659 GB, free: 28.53 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006031/2.595, allocations: 358.9 kB / 1.66 GB, free: 28.52 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003691/2.598, allocations: 482.9 kB / 1.66 GB, free: 28.51 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0265/2.625, allocations: 7.673 MB / 1.668 GB, free: 27.13 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002315/2.625, allocations: 7.125 kB / 1.668 GB, free: 27.13 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001757/2.627, allocations: 189.8 kB / 1.668 GB, free: 27.13 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002828/2.627, allocations: 221.7 kB / 1.668 GB, free: 27.12 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01861/2.646, allocations: 6.18 MB / 1.674 GB, free: 27.01 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.0591/2.705, allocations: 18.89 MB / 1.692 GB, free: 23.7 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008581/2.713, allocations: 3.552 MB / 1.696 GB, free: 23.57 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004897/2.718, allocations: 2.396 MB / 1.698 GB, free: 23.47 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001155/2.72, allocations: 179 kB / 1.698 GB, free: 23.47 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00515/2.725, allocations: 2.986 MB / 1.701 GB, free: 22.33 MB / 1.295 GB Notification: Performance of pre-optimization done (n=310): time 8.245e-06/2.725, allocations: 0.8438 kB / 1.701 GB, free: 22.33 MB / 1.295 GB Notification: Performance of matching and sorting (n=314): time 0.02917/2.754, allocations: 11.3 MB / 1.712 GB, free: 20.38 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.375e-05/2.754, allocations: 149.8 kB / 1.712 GB, free: 20.24 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0126/2.767, allocations: 4.504 MB / 1.717 GB, free: 18.7 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.001141/2.768, allocations: 90.89 kB / 1.717 GB, free: 18.63 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.004077/2.772, allocations: 2.53 MB / 1.719 GB, free: 16.73 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.002072/2.774, allocations: 1.133 MB / 1.721 GB, free: 15.85 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002962/2.777, allocations: 0.6546 MB / 1.721 GB, free: 15.56 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 7.023e-05/2.777, allocations: 308.6 kB / 1.721 GB, free: 15.26 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004186/2.781, allocations: 1.96 MB / 1.723 GB, free: 14.5 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00487/2.786, allocations: 3.428 MB / 1.727 GB, free: 12.1 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008314/2.794, allocations: 4.712 MB / 1.731 GB, free: 9.809 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.368e-05/2.794, allocations: 2.906 kB / 1.731 GB, free: 9.809 MB / 1.295 GB Notification: Performance of matching and sorting (n=434) (initialization): time 0.01257/2.807, allocations: 5.375 MB / 1.737 GB, free: 7.723 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 8.925e-05/2.807, allocations: 72.97 kB / 1.737 GB, free: 7.656 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-05/2.807, allocations: 18.03 kB / 1.737 GB, free: 7.656 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005388/2.808, allocations: 124.3 kB / 1.737 GB, free: 7.625 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003736/2.811, allocations: 0.7702 MB / 1.738 GB, free: 7.477 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002821/2.814, allocations: 2.82 MB / 1.74 GB, free: 4.988 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005986/2.82, allocations: 243.7 kB / 1.741 GB, free: 4.863 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008244/2.821, allocations: 133.9 kB / 1.741 GB, free: 4.828 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009992/2.831, allocations: 4.056 MB / 1.745 GB, free: 2.523 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00488/2.836, allocations: 3.423 MB / 1.748 GB, free: 15.75 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009312/2.845, allocations: 4.692 MB / 1.753 GB, free: 12.94 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.38e-05/2.845, allocations: 3.438 kB / 1.753 GB, free: 12.94 MB / 1.311 GB Notification: Performance of matching and sorting (n=434) (initialization_lambda0): time 0.01346/2.859, allocations: 5.361 MB / 1.758 GB, free: 9.391 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001088/2.859, allocations: 79.38 kB / 1.758 GB, free: 9.301 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.332e-05/2.859, allocations: 12 kB / 1.758 GB, free: 9.289 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005234/2.859, allocations: 130.3 kB / 1.758 GB, free: 9.164 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003841/2.863, allocations: 0.7503 MB / 1.759 GB, free: 8.457 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002911/2.866, allocations: 2.226 MB / 1.761 GB, free: 6.16 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006667/2.873, allocations: 267.8 kB / 1.761 GB, free: 5.906 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000886/2.874, allocations: 128.9 kB / 1.761 GB, free: 5.781 MB / 1.311 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 14 (mAirGai.nextEventScaled,mAirGai.nextEvent,$PRE.mAirGai.nextEvent,mAirGai.last,mAirGai.b,mAirGai.a,mWatGai.nextEventScaled,mWatGai.nextEvent,$PRE.mWatGai.nextEvent,mWatGai.last,mWatGai.b,mWatGai.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (413): * Single equations (assignments): 405 * Array equations: 4 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00212/2.876, allocations: 447.9 kB / 1.762 GB, free: 5.371 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002822/2.878, allocations: 477.9 kB / 1.762 GB, free: 4.902 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0128/2.891, allocations: 4.81 MB / 1.767 GB, free: 36 kB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008019/2.899, allocations: 4.084 MB / 1.771 GB, free: 11.87 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/2.899, allocations: 0 / 1.771 GB, free: 11.87 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00547/2.905, allocations: 1.031 MB / 1.772 GB, free: 10.84 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002568/2.907, allocations: 68.98 kB / 1.772 GB, free: 10.77 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004953/2.912, allocations: 199.5 kB / 1.772 GB, free: 10.59 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006245/2.913, allocations: 186.7 kB / 1.772 GB, free: 10.4 MB / 1.326 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01309/2.926, allocations: 5.167 MB / 1.777 GB, free: 5.199 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01518/2.941, allocations: 7.483 MB / 1.785 GB, free: 13.61 MB / 1.342 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003812/2.945, allocations: 2.05 MB / 1.787 GB, free: 11.54 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.009844/2.955, allocations: 3.171 MB / 1.79 GB, free: 8.363 MB / 1.342 GB Notification: Performance of Backend: time 9.21e-07/2.955, allocations: 5.125 kB / 1.79 GB, free: 8.359 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.02418/2.979, allocations: 6.521 MB / 1.796 GB, free: 2.035 MB / 1.342 GB Notification: Performance of SimCode: time 0.04258/3.022, allocations: 13.75 MB / 1.81 GB, free: 4.379 MB / 1.357 GB Notification: Performance of Templates: time 0.2617/3.283, allocations: 136.7 MB / 1.943 GB, free: 13.54 MB / 1.498 GB " [Timeout remaining time 297] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.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: 22.78357902100106]