Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.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.001474/0.001474, 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.001705/0.001705, allocations: 211.3 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.66/1.66, 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.552/3.552, allocations: 0.49 GB / 0.7959 GB, free: 35.32 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.WetCoilCounterFlowPControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hex.m1_flow|hex.m2_flow|con.u_s|con.u_m|hex.Q1_flow|hex.Q2_flow|hex.QLat2_flow|hex.QSen2_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hex.m1_flow|hex.m2_flow|con.u_s|con.u_m|hex.Q1_flow|hex.Q2_flow|hex.QLat2_flow|hex.QSen2_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl") [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.002249/0.002249, allocations: 73.73 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5523/0.5546, allocations: 176.1 MB / 1.327 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl): time 0.3546/0.9092, allocations: 248.3 MB / 1.57 GB, free: 7.688 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.0395/0.9487, allocations: 22.05 MB / 1.591 GB, free: 1.582 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005967/0.9546, allocations: 146.8 kB / 1.591 GB, free: 1.438 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.005424/0.9601, allocations: 1.425 MB / 1.593 GB, free: 4 kB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.01664/0.9767, allocations: 4.824 MB / 1.597 GB, free: 11.16 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01062/0.9873, allocations: 3.235 MB / 1.601 GB, free: 7.934 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 1.314/2.301, allocations: 18.85 MB / 1.619 GB, free: 31.05 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01913/2.321, allocations: 5.711 MB / 1.625 GB, free: 30.7 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02924/2.35, allocations: 7.475 MB / 1.632 GB, free: 30.7 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02048/2.37, allocations: 5.63 MB / 1.637 GB, free: 30.32 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.005871/2.376, allocations: 0.8448 MB / 1.638 GB, free: 30.32 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02161/2.398, allocations: 4.229 MB / 1.642 GB, free: 30.32 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.008553/2.406, allocations: 2.404 MB / 1.645 GB, free: 30 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.0179/2.424, allocations: 3.491 MB / 1.648 GB, free: 29.21 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.03727/2.461, allocations: 14.6 MB / 1.662 GB, free: 27.68 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 1.37e-05/2.462, allocations: 1 kB / 1.662 GB, free: 27.68 MB / 1.295 GB Notification: Performance of FrontEnd: time 3.737e-06/2.462, allocations: 0 / 1.662 GB, free: 27.68 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0007859/2.462, allocations: 4.938 kB / 1.662 GB, free: 27.68 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: 1240 * Number of variables: 1240 Notification: Performance of Generate backend data structure: time 0.0446/2.507, allocations: 8.546 MB / 1.671 GB, free: 24.46 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 7.48e-05/2.507, allocations: 10.22 kB / 1.671 GB, free: 24.46 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0144/2.521, allocations: 1.588 MB / 1.672 GB, free: 24.04 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02262/2.544, allocations: 6.73 MB / 1.679 GB, free: 22.94 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007955/2.545, allocations: 375 kB / 1.679 GB, free: 22.93 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003918/2.549, allocations: 0.4911 MB / 1.68 GB, free: 22.93 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03222/2.581, allocations: 7.885 MB / 1.687 GB, free: 21.52 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000519/2.581, allocations: 11.98 kB / 1.687 GB, free: 21.52 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003085/2.585, allocations: 198.7 kB / 1.688 GB, free: 21.52 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004525/2.585, allocations: 227.6 kB / 1.688 GB, free: 21.5 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02179/2.607, allocations: 6.308 MB / 1.694 GB, free: 21.43 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.06403/2.671, allocations: 19.68 MB / 1.713 GB, free: 17.67 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008881/2.68, allocations: 3.707 MB / 1.717 GB, free: 16.18 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005262/2.685, allocations: 2.444 MB / 1.719 GB, free: 15.29 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001237/2.686, allocations: 168.8 kB / 1.719 GB, free: 15.27 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006153/2.692, allocations: 2.971 MB / 1.722 GB, free: 13.5 MB / 1.295 GB Notification: Performance of pre-optimization done (n=321): time 1.206e-05/2.692, allocations: 0.875 kB / 1.722 GB, free: 13.5 MB / 1.295 GB Notification: Performance of matching and sorting (n=325): time 0.0328/2.725, allocations: 11.57 MB / 1.734 GB, free: 7.777 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.488e-05/2.725, allocations: 115.7 kB / 1.734 GB, free: 7.676 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.014/2.739, allocations: 4.865 MB / 1.738 GB, free: 5.18 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.001416/2.741, allocations: 94.64 kB / 1.738 GB, free: 5.102 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.00391/2.745, allocations: 2.735 MB / 1.741 GB, free: 2.754 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.002325/2.747, allocations: 1.176 MB / 1.742 GB, free: 1.742 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003902/2.751, allocations: 0.6927 MB / 1.743 GB, free: 1.371 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 8.937e-05/2.751, allocations: 306.8 kB / 1.743 GB, free: 1.07 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004434/2.755, allocations: 1.976 MB / 1.745 GB, free: 16 kB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006463/2.762, allocations: 3.735 MB / 1.749 GB, free: 12.9 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01049/2.772, allocations: 4.789 MB / 1.754 GB, free: 10.06 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.661e-05/2.772, allocations: 4.688 kB / 1.754 GB, free: 10.06 MB / 1.311 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.01785/2.79, allocations: 5.573 MB / 1.759 GB, free: 5.102 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/2.79, allocations: 43.25 kB / 1.759 GB, free: 5.055 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.899e-05/2.79, allocations: 22.56 kB / 1.759 GB, free: 5.039 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001169/2.792, allocations: 245.3 kB / 1.759 GB, free: 4.797 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004738/2.796, allocations: 0.8011 MB / 1.76 GB, free: 4.043 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004459/2.801, allocations: 3.471 MB / 1.763 GB, free: 464 kB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007033/2.808, allocations: 280.8 kB / 1.764 GB, free: 192 kB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001214/2.809, allocations: 144 kB / 1.764 GB, free: 48 kB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0121/2.821, allocations: 4.104 MB / 1.768 GB, free: 11.94 MB / 1.326 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007032/2.828, allocations: 3.723 MB / 1.771 GB, free: 7.707 MB / 1.326 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01067/2.839, allocations: 4.763 MB / 1.776 GB, free: 2.793 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.366e-05/2.839, allocations: 8.75 kB / 1.776 GB, free: 2.785 MB / 1.326 GB Notification: Performance of matching and sorting (n=454) (initialization_lambda0): time 0.01625/2.855, allocations: 5.509 MB / 1.782 GB, free: 13.34 MB / 1.342 GB Notification: Performance of prepare postOptimizeDAE: time 8.412e-05/2.855, allocations: 50.62 kB / 1.782 GB, free: 13.28 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.156e-05/2.855, allocations: 12 kB / 1.782 GB, free: 13.27 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007579/2.856, allocations: 209.1 kB / 1.782 GB, free: 13.06 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004301/2.86, allocations: 0.7852 MB / 1.783 GB, free: 12.32 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005257/2.865, allocations: 4.094 MB / 1.787 GB, free: 8.082 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007157/2.873, allocations: 302.6 kB / 1.787 GB, free: 7.797 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001248/2.874, allocations: 136 kB / 1.787 GB, free: 7.664 MB / 1.342 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 8 (TSet.nextEventScaled,TSet.nextEvent,$PRE.TSet.nextEvent,TSet.last,TSet.b,TSet.a,$whenCondition1,con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (429): * Single equations (assignments): 421 * Array equations: 4 * Algorithm blocks: 1 * 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): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.002505/2.876, allocations: 427.7 kB / 1.787 GB, free: 7.281 MB / 1.342 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003065/2.879, allocations: 0.5014 MB / 1.788 GB, free: 6.777 MB / 1.342 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01475/2.894, allocations: 4.935 MB / 1.793 GB, free: 1.816 MB / 1.342 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009307/2.904, allocations: 4.115 MB / 1.797 GB, free: 13.64 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.399e-05/2.904, allocations: 0 / 1.797 GB, free: 13.64 MB / 1.357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005544/2.909, allocations: 1.07 MB / 1.798 GB, free: 12.57 MB / 1.357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002646/2.912, allocations: 75.92 kB / 1.798 GB, free: 12.5 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005402/2.917, allocations: 216.5 kB / 1.798 GB, free: 12.29 MB / 1.357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007762/2.918, allocations: 202.2 kB / 1.798 GB, free: 12.09 MB / 1.357 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01354/2.931, allocations: 5.222 MB / 1.803 GB, free: 6.863 MB / 1.357 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0157/2.947, allocations: 7.491 MB / 1.811 GB, free: 15.29 MB / 1.373 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003815/2.951, allocations: 2.055 MB / 1.813 GB, free: 13.22 MB / 1.373 GB Notification: Performance of sorting global known variables: time 0.01052/2.961, allocations: 3.398 MB / 1.816 GB, free: 9.832 MB / 1.373 GB Notification: Performance of Backend: time 6.61e-07/2.961, allocations: 0 / 1.816 GB, free: 9.832 MB / 1.373 GB Notification: Performance of simCode: created initialization part: time 0.02837/2.99, allocations: 6.732 MB / 1.823 GB, free: 3.281 MB / 1.373 GB Notification: Performance of SimCode: time 0.04526/3.035, allocations: 14.56 MB / 1.837 GB, free: 4.762 MB / 1.389 GB Notification: Performance of Templates: time 0.2573/3.292, allocations: 144.3 MB / 1.978 GB, free: 6.41 MB / 1.529 GB " [Timeout remaining time 297] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.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: 17.151318460993934]