Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.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.002028/0.002028, 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.002898/0.002898, allocations: 213.7 kB / 23 MB, free: 4.969 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.782/1.782, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.792/3.792, allocations: 0.49 GB / 0.7959 GB, free: 35.64 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.DryCoilCounterFlowPControl,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|hex.Q1_flow|hex.Q2_flow|hex.m1_flow|hex.m2_flow|con.u_s|con.u_m",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,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|hex.Q1_flow|hex.Q2_flow|hex.m1_flow|hex.m2_flow|con.u_s|con.u_m",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl") [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.002224/0.002224, allocations: 61.34 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6324/0.6347, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl): time 0.3878/1.022, allocations: 246 MB / 1.567 GB, free: 10.14 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.04287/1.065, allocations: 20.97 MB / 1.588 GB, free: 5.113 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007021/1.072, allocations: 142.8 kB / 1.588 GB, free: 4.973 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.00601/1.078, allocations: 1.363 MB / 1.589 GB, free: 3.602 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.02032/1.099, allocations: 4.476 MB / 1.594 GB, free: 15.11 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01291/1.112, allocations: 3.05 MB / 1.597 GB, free: 12.07 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 1.731/2.843, allocations: 17.64 MB / 1.614 GB, free: 31.09 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01441/2.857, allocations: 4.973 MB / 1.619 GB, free: 30.75 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03145/2.888, allocations: 7.076 MB / 1.626 GB, free: 30.75 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01979/2.908, allocations: 5.183 MB / 1.631 GB, free: 30.57 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.004436/2.913, allocations: 0.7304 MB / 1.631 GB, free: 30.57 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02002/2.933, allocations: 3.894 MB / 1.635 GB, free: 30.57 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.007377/2.94, allocations: 2.182 MB / 1.637 GB, free: 30.27 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.018/2.958, allocations: 3.164 MB / 1.64 GB, free: 29.56 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.03441/2.992, allocations: 13.07 MB / 1.653 GB, free: 28.18 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 1.797e-05/2.992, allocations: 2.312 kB / 1.653 GB, free: 28.18 MB / 1.295 GB Notification: Performance of FrontEnd: time 5.13e-06/2.993, allocations: 0 / 1.653 GB, free: 28.18 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0006335/2.993, allocations: 0 / 1.653 GB, free: 28.18 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: 1072 * Number of variables: 1072 Notification: Performance of Generate backend data structure: time 0.04098/3.034, allocations: 7.784 MB / 1.661 GB, free: 25.21 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 8.872e-05/3.034, allocations: 8.969 kB / 1.661 GB, free: 25.21 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01287/3.047, allocations: 1.361 MB / 1.662 GB, free: 24.84 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02468/3.072, allocations: 6.306 MB / 1.668 GB, free: 23.8 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008124/3.073, allocations: 327.7 kB / 1.669 GB, free: 23.79 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003946/3.077, allocations: 437.4 kB / 1.669 GB, free: 23.79 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03047/3.107, allocations: 6.967 MB / 1.676 GB, free: 22.39 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004705/3.107, allocations: 6.266 kB / 1.676 GB, free: 22.39 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003096/3.111, allocations: 172.1 kB / 1.676 GB, free: 22.39 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004593/3.111, allocations: 205.4 kB / 1.676 GB, free: 22.38 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02077/3.132, allocations: 5.478 MB / 1.682 GB, free: 22.3 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.06369/3.195, allocations: 17.49 MB / 1.699 GB, free: 18.84 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008612/3.204, allocations: 3.35 MB / 1.702 GB, free: 18.75 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00493/3.209, allocations: 2.135 MB / 1.704 GB, free: 18.69 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001094/3.21, allocations: 164 kB / 1.704 GB, free: 18.68 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005322/3.215, allocations: 2.69 MB / 1.707 GB, free: 17.61 MB / 1.295 GB Notification: Performance of pre-optimization done (n=285): time 1.115e-05/3.215, allocations: 0.7188 kB / 1.707 GB, free: 17.61 MB / 1.295 GB Notification: Performance of matching and sorting (n=289): time 0.03067/3.246, allocations: 10.16 MB / 1.717 GB, free: 15.26 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.918e-05/3.246, allocations: 112 kB / 1.717 GB, free: 15.16 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01414/3.26, allocations: 4.552 MB / 1.721 GB, free: 13.61 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.001102/3.261, allocations: 88.27 kB / 1.721 GB, free: 13.54 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.004208/3.266, allocations: 2.462 MB / 1.724 GB, free: 11.68 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.002148/3.268, allocations: 1.059 MB / 1.725 GB, free: 10.86 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002737/3.271, allocations: 0.6368 MB / 1.725 GB, free: 10.57 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001459/3.271, allocations: 307.9 kB / 1.726 GB, free: 10.27 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004007/3.275, allocations: 1.741 MB / 1.727 GB, free: 9.629 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004958/3.28, allocations: 3.339 MB / 1.731 GB, free: 7.18 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008056/3.288, allocations: 4.243 MB / 1.735 GB, free: 4.859 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.649e-05/3.288, allocations: 3.562 kB / 1.735 GB, free: 4.859 MB / 1.295 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.01198/3.3, allocations: 4.992 MB / 1.74 GB, free: 2.371 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 7.888e-05/3.3, allocations: 46.81 kB / 1.74 GB, free: 2.332 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.969e-05/3.3, allocations: 16.31 kB / 1.74 GB, free: 2.332 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001115/3.301, allocations: 246.7 kB / 1.74 GB, free: 2.227 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003332/3.304, allocations: 0.71 MB / 1.741 GB, free: 2.098 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003746/3.308, allocations: 3.479 MB / 1.744 GB, free: 15.01 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006176/3.314, allocations: 246 kB / 1.744 GB, free: 14.88 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006495/3.315, allocations: 129.4 kB / 1.744 GB, free: 14.84 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01023/3.325, allocations: 3.648 MB / 1.748 GB, free: 12.79 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005719/3.331, allocations: 3.32 MB / 1.751 GB, free: 10.01 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008492/3.339, allocations: 4.207 MB / 1.755 GB, free: 7.5 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.312e-05/3.339, allocations: 3.844 kB / 1.755 GB, free: 7.5 MB / 1.311 GB Notification: Performance of matching and sorting (n=414) (initialization_lambda0): time 0.01215/3.351, allocations: 4.944 MB / 1.76 GB, free: 3.121 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 7.473e-05/3.352, allocations: 42.52 kB / 1.76 GB, free: 3.074 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.757e-05/3.352, allocations: 12 kB / 1.76 GB, free: 3.062 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007403/3.352, allocations: 205.6 kB / 1.76 GB, free: 2.859 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00323/3.356, allocations: 0.7074 MB / 1.761 GB, free: 2.195 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005486/3.361, allocations: 4.088 MB / 1.765 GB, free: 13.96 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006729/3.368, allocations: 262.9 kB / 1.765 GB, free: 13.71 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005971/3.368, allocations: 124 kB / 1.765 GB, free: 13.59 MB / 1.326 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (389): * Single equations (assignments): 381 * 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.00177/3.37, allocations: 413 kB / 1.766 GB, free: 13.21 MB / 1.326 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002214/3.372, allocations: 477.8 kB / 1.766 GB, free: 12.75 MB / 1.326 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009862/3.382, allocations: 4.317 MB / 1.77 GB, free: 8.391 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006341/3.389, allocations: 3.611 MB / 1.774 GB, free: 4.711 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/3.389, allocations: 0.8438 kB / 1.774 GB, free: 4.711 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004955/3.394, allocations: 0.9665 MB / 1.775 GB, free: 3.746 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001431/3.395, allocations: 68.77 kB / 1.775 GB, free: 3.68 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002937/3.398, allocations: 185.2 kB / 1.775 GB, free: 3.504 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004925/3.398, allocations: 189.9 kB / 1.775 GB, free: 3.316 MB / 1.326 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01013/3.409, allocations: 4.625 MB / 1.78 GB, free: 14.68 MB / 1.342 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01233/3.421, allocations: 6.541 MB / 1.786 GB, free: 8.055 MB / 1.342 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003077/3.424, allocations: 1.793 MB / 1.788 GB, free: 6.242 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.007735/3.432, allocations: 3.173 MB / 1.791 GB, free: 3.07 MB / 1.342 GB Notification: Performance of Backend: time 1.092e-06/3.432, allocations: 0 / 1.791 GB, free: 3.07 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.01945/3.451, allocations: 6.07 MB / 1.797 GB, free: 13.19 MB / 1.357 GB Notification: Performance of SimCode: time 0.03535/3.486, allocations: 13.45 MB / 1.81 GB, free: 15.79 MB / 1.373 GB Notification: Performance of Templates: time 0.2544/3.741, allocations: 133.2 MB / 1.94 GB, free: 12.48 MB / 1.498 GB " [Timeout remaining time 296] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowPControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.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: 18.38351177799632]