Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 112.7 kB / 16.42 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 186.5 kB / 17.35 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.64/2.64, allocations: 469.4 MB / 0.7428 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 59.91 kB / 1.066 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8236/0.825, allocations: 159.1 MB / 1.221 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl): time 0.2724/1.097, allocations: 278.1 MB / 1.492 GB, free: 11.27 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.03199/1.129, allocations: 23.8 MB / 1.516 GB, free: 3.41 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004108/1.134, allocations: 103.4 kB / 1.516 GB, free: 3.309 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.004281/1.138, allocations: 1.499 MB / 1.517 GB, free: 1.801 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.01266/1.151, allocations: 4.795 MB / 1.522 GB, free: 12.98 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.008387/1.159, allocations: 3.203 MB / 1.525 GB, free: 9.793 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.02384/1.183, allocations: 18.56 MB / 1.543 GB, free: 7.188 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01308/1.196, allocations: 8.356 MB / 1.551 GB, free: 14.73 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01781/1.214, allocations: 7.003 MB / 1.558 GB, free: 7.73 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01073/1.225, allocations: 5.438 MB / 1.563 GB, free: 2.297 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.003044/1.228, allocations: 0.8516 MB / 1.564 GB, free: 1.445 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.8004/2.028, allocations: 4.947 MB / 1.569 GB, free: 48.77 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.004525/2.033, allocations: 2.347 MB / 1.571 GB, free: 48.77 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.01233/2.045, allocations: 4.366 MB / 1.576 GB, free: 48.77 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.0292/2.074, allocations: 14.62 MB / 1.59 GB, free: 48.14 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/2.074, allocations: 3.469 kB / 1.59 GB, free: 48.14 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.345e-06/2.074, allocations: 0 / 1.59 GB, free: 48.14 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0004778/2.075, allocations: 0 / 1.59 GB, free: 48.14 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1243 * Number of variables: 1243 Notification: Performance of Generate backend data structure: time 0.03142/2.106, allocations: 8.407 MB / 1.598 GB, free: 45.04 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 6.589e-05/2.106, allocations: 9.156 kB / 1.598 GB, free: 45.04 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01036/2.117, allocations: 1.502 MB / 1.6 GB, free: 44.66 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01809/2.135, allocations: 6.646 MB / 1.606 GB, free: 43.62 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004301/2.135, allocations: 374.6 kB / 1.607 GB, free: 43.61 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002441/2.138, allocations: 0.4995 MB / 1.607 GB, free: 43.61 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0207/2.158, allocations: 7.096 MB / 1.614 GB, free: 43.17 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002877/2.159, allocations: 16.53 kB / 1.614 GB, free: 43.17 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001885/2.161, allocations: 194.1 kB / 1.614 GB, free: 43.17 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002962/2.161, allocations: 236.5 kB / 1.614 GB, free: 43.16 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01618/2.177, allocations: 6.306 MB / 1.621 GB, free: 43.11 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.05849/2.236, allocations: 28.24 MB / 1.648 GB, free: 32.16 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007731/2.243, allocations: 4.54 MB / 1.653 GB, free: 31.25 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004287/2.248, allocations: 2.573 MB / 1.655 GB, free: 31.21 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001123/2.249, allocations: 0.92 MB / 1.656 GB, free: 30.27 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004791/2.254, allocations: 2.215 MB / 1.658 GB, free: 30.14 MB / 1.279 GB Notification: Performance of pre-optimization done (n=323): time 8.075e-06/2.254, allocations: 0 / 1.658 GB, free: 30.14 MB / 1.279 GB Notification: Performance of matching and sorting (n=327): time 0.0304/2.284, allocations: 11.58 MB / 1.669 GB, free: 28.28 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.226e-05/2.284, allocations: 121.2 kB / 1.67 GB, free: 28.18 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01328/2.298, allocations: 5.022 MB / 1.674 GB, free: 27.85 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.00129/2.299, allocations: 95.2 kB / 1.675 GB, free: 27.82 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.003928/2.303, allocations: 2.668 MB / 1.677 GB, free: 26.95 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.002036/2.305, allocations: 1.134 MB / 1.678 GB, free: 26.23 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00288/2.308, allocations: 0.6957 MB / 1.679 GB, free: 26.18 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 4.772e-05/2.308, allocations: 309.5 kB / 1.679 GB, free: 25.88 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003507/2.311, allocations: 1.948 MB / 1.681 GB, free: 25.74 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003901/2.315, allocations: 2.779 MB / 1.684 GB, free: 24.2 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007091/2.323, allocations: 4.796 MB / 1.689 GB, free: 21.82 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.796e-05/2.323, allocations: 8.688 kB / 1.689 GB, free: 21.82 MB / 1.279 GB Notification: Performance of matching and sorting (n=457) (initialization): time 0.01016/2.333, allocations: 5.544 MB / 1.694 GB, free: 19.07 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 5.742e-05/2.333, allocations: 41.84 kB / 1.694 GB, free: 19.04 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.003e-05/2.333, allocations: 15.38 kB / 1.694 GB, free: 19.04 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008867/2.334, allocations: 263.4 kB / 1.694 GB, free: 18.93 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003627/2.337, allocations: 0.8096 MB / 1.695 GB, free: 18.78 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002553/2.34, allocations: 3.645 MB / 1.699 GB, free: 15.48 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00568/2.346, allocations: 289.8 kB / 1.699 GB, free: 15.33 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007393/2.346, allocations: 140.5 kB / 1.699 GB, free: 15.3 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007936/2.354, allocations: 4.065 MB / 1.703 GB, free: 13.02 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00412/2.359, allocations: 2.758 MB / 1.706 GB, free: 11.11 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007381/2.366, allocations: 4.774 MB / 1.71 GB, free: 8.27 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.255e-05/2.366, allocations: 3.906 kB / 1.71 GB, free: 8.27 MB / 1.279 GB Notification: Performance of matching and sorting (n=457) (initialization_lambda0): time 0.01241/2.378, allocations: 5.481 MB / 1.716 GB, free: 2.938 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 5.211e-05/2.378, allocations: 41.7 kB / 1.716 GB, free: 2.891 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.829e-05/2.379, allocations: 12 kB / 1.716 GB, free: 2.879 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006604/2.379, allocations: 213.5 kB / 1.716 GB, free: 2.668 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003733/2.383, allocations: 0.8108 MB / 1.717 GB, free: 1.906 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004398/2.387, allocations: 4.497 MB / 1.721 GB, free: 13.17 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006166/2.394, allocations: 314.5 kB / 1.721 GB, free: 12.87 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009813/2.395, allocations: 134.2 kB / 1.722 GB, free: 12.74 MB / 1.295 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 (432): * Single equations (assignments): 424 * 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.002032/2.397, allocations: 425.9 kB / 1.722 GB, free: 12.36 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00232/2.399, allocations: 0.4977 MB / 1.722 GB, free: 11.86 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01172/2.411, allocations: 4.907 MB / 1.727 GB, free: 6.918 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007436/2.418, allocations: 4.09 MB / 1.731 GB, free: 2.77 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/2.418, allocations: 0 / 1.731 GB, free: 2.77 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004467/2.423, allocations: 1.116 MB / 1.732 GB, free: 1.629 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001928/2.425, allocations: 71.98 kB / 1.732 GB, free: 1.559 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004458/2.429, allocations: 217.6 kB / 1.733 GB, free: 1.348 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005959/2.43, allocations: 202.3 kB / 1.733 GB, free: 1.148 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01123/2.441, allocations: 5.192 MB / 1.738 GB, free: 11.95 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01252/2.454, allocations: 7.415 MB / 1.745 GB, free: 4.469 MB / 1.311 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003205/2.457, allocations: 2.163 MB / 1.747 GB, free: 2.293 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.008429/2.465, allocations: 3.527 MB / 1.751 GB, free: 14.78 MB / 1.326 GB Notification: Performance of Backend: time 7.51e-07/2.465, allocations: 0 / 1.751 GB, free: 14.78 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.02074/2.486, allocations: 7.098 MB / 1.758 GB, free: 7.867 MB / 1.326 GB Notification: Performance of SimCode: time 0.03383/2.52, allocations: 14.42 MB / 1.772 GB, free: 9.508 MB / 1.342 GB Notification: Performance of Templates: time 0.2068/2.727, allocations: 131 MB / 1.9 GB, free: 7.938 MB / 1.467 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches