Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Validation.WetCoilCounterFlowLowWaterFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.Q1_flow|hex.QSen2_flow|hex.QLat2_flow|hex.m1_flow|hex.m2_flow|hex.ele.1..mas.T|senTemAirIn.T|senTemWatIn.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate") translateModel(Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.Q1_flow|hex.QSen2_flow|hex.QLat2_flow|hex.m1_flow|hex.m2_flow|hex.ele.1..mas.T|senTemAirIn.T|senTemWatIn.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001313/0.001313, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.69/2.69, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002992/0.0002992, allocations: 12.05 kB / 0.9021 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2467, allocations: 159.6 MB / 1.058 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate): time 0.7422/0.989, allocations: 252.5 MB / 1.305 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0195/1.009, allocations: 17 MB / 1.321 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002746/1.011, allocations: 80.03 kB / 1.321 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002251/1.014, allocations: 0.8242 MB / 1.322 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007639/1.021, allocations: 3.031 MB / 1.325 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005925/1.027, allocations: 2.075 MB / 1.327 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008205/1.035, allocations: 7.234 MB / 1.334 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002412/1.038, allocations: 1.834 MB / 1.336 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004323/1.042, allocations: 2.286 MB / 1.338 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002087/1.044, allocations: 1.65 MB / 1.34 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002607/1.045, allocations: 90.44 kB / 1.34 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005824/1.05, allocations: 2.418 MB / 1.342 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006503/1.051, allocations: 0.5591 MB / 1.343 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009801/1.052, allocations: 0.5379 MB / 1.343 GB, free: 21.39 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004223/1.056, allocations: 4.028 MB / 1.347 GB, free: 21.12 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/1.056, allocations: 7.156 kB / 1.347 GB, free: 21.12 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.633e-06/1.056, allocations: 0 / 1.347 GB, free: 21.12 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.757e-05/1.056, allocations: 0 / 1.347 GB, free: 21.12 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 438 * Number of variables: 438 Notification: Performance of Generate backend data structure: time 0.00498/1.061, allocations: 2.72 MB / 1.35 GB, free: 19.79 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/1.061, allocations: 8.25 kB / 1.35 GB, free: 19.79 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002581/1.064, allocations: 0.5314 MB / 1.35 GB, free: 19.65 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002849/1.067, allocations: 1.99 MB / 1.352 GB, free: 19.22 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.385e-05/1.067, allocations: 133 kB / 1.352 GB, free: 19.22 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002299/1.067, allocations: 175.5 kB / 1.353 GB, free: 19.22 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00335/1.07, allocations: 2.353 MB / 1.355 GB, free: 18.87 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.16e-05/1.071, allocations: 5.781 kB / 1.355 GB, free: 18.87 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001631/1.071, allocations: 73.39 kB / 1.355 GB, free: 18.86 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.872e-05/1.071, allocations: 77.64 kB / 1.355 GB, free: 18.86 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002928/1.074, allocations: 1.987 MB / 1.357 GB, free: 18.5 MB / 1.014 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.01/1.084, allocations: 10.64 MB / 1.367 GB, free: 11.63 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/1.085, allocations: 1.217 MB / 1.369 GB, free: 11.33 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009276/1.086, allocations: 0.7009 MB / 1.369 GB, free: 11.22 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001101/1.087, allocations: 1.225 MB / 1.37 GB, free: 9.859 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/1.087, allocations: 50 kB / 1.371 GB, free: 9.816 MB / 1.014 GB Notification: Performance of pre-optimization done (n=99): time 3.306e-06/1.087, allocations: 0 / 1.371 GB, free: 9.816 MB / 1.014 GB Notification: Performance of matching and sorting (n=101): time 0.006081/1.094, allocations: 3.543 MB / 1.374 GB, free: 8.727 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/1.094, allocations: 67.95 kB / 1.374 GB, free: 8.66 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002283/1.096, allocations: 1.903 MB / 1.376 GB, free: 8.109 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.413e-05/1.096, allocations: 51.52 kB / 1.376 GB, free: 8.074 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006653/1.097, allocations: 0.9657 MB / 1.377 GB, free: 7.625 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002966/1.097, allocations: 358.4 kB / 1.377 GB, free: 7.371 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.755e-05/1.097, allocations: 26.41 kB / 1.377 GB, free: 7.371 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001239/1.097, allocations: 358.9 kB / 1.378 GB, free: 7.047 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008507/1.098, allocations: 0.5775 MB / 1.378 GB, free: 6.945 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001105/1.099, allocations: 0.9655 MB / 1.379 GB, free: 6.414 MB / 1.014 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: hex.ele[1].vol2.dynBal.medium.p = hex.ele[1].vol2.dynBal.p_start (sin_a.p = hex.ele[1].vol2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.009981/1.109, allocations: 2.942 MB / 1.382 GB, free: 5.531 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/1.109, allocations: 6.766 kB / 1.382 GB, free: 5.527 MB / 1.014 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002592/1.112, allocations: 1.732 MB / 1.384 GB, free: 5.168 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002027/1.112, allocations: 359.5 kB / 1.384 GB, free: 4.738 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/1.112, allocations: 8.5 kB / 1.384 GB, free: 4.738 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.526e-05/1.112, allocations: 16.38 kB / 1.384 GB, free: 4.738 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/1.113, allocations: 292.1 kB / 1.384 GB, free: 4.695 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.898e-05/1.113, allocations: 21.16 kB / 1.384 GB, free: 4.695 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/1.115, allocations: 216 kB / 1.385 GB, free: 4.609 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/1.115, allocations: 56.02 kB / 1.385 GB, free: 4.605 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.442e-06/1.115, allocations: 2.562 kB / 1.385 GB, free: 4.605 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002206/1.117, allocations: 1.541 MB / 1.386 GB, free: 4.375 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/1.117, allocations: 14.09 kB / 1.386 GB, free: 4.371 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/1.117, allocations: 16.19 kB / 1.386 GB, free: 4.371 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/1.118, allocations: 283.8 kB / 1.386 GB, free: 4.332 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.934e-05/1.118, allocations: 29.7 kB / 1.386 GB, free: 4.324 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/1.12, allocations: 201.4 kB / 1.387 GB, free: 4.25 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/1.12, allocations: 56.67 kB / 1.387 GB, free: 4.246 MB / 1.014 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: hex.ele[1].vol2.dynBal.medium.p = hex.ele[1].vol2.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (153): * Single equations (assignments): 152 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001089/1.121, allocations: 0.8109 MB / 1.387 GB, free: 3.945 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002852/1.121, allocations: 189.9 kB / 1.388 GB, free: 3.848 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002628/1.124, allocations: 1.625 MB / 1.389 GB, free: 3.469 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/1.124, allocations: 9.875 kB / 1.389 GB, free: 3.469 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/1.124, allocations: 2.906 kB / 1.389 GB, free: 3.469 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001964/1.126, allocations: 1.521 MB / 1.391 GB, free: 2.832 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005731/1.132, allocations: 4.28 MB / 1.395 GB, free: 1.348 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/1.132, allocations: 8.75 kB / 1.395 GB, free: 1.348 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009963/1.133, allocations: 229 kB / 1.395 GB, free: 1.309 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.13e-05/1.133, allocations: 13.03 kB / 1.395 GB, free: 1.309 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.53e-05/1.133, allocations: 32.33 kB / 1.395 GB, free: 1.305 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.294e-05/1.133, allocations: 23.77 kB / 1.395 GB, free: 1.297 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-06/1.133, allocations: 16.23 kB / 1.395 GB, free: 1.289 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003042/1.136, allocations: 2.386 MB / 1.398 GB, free: 500 kB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007568/1.137, allocations: 469.6 kB / 1.398 GB, free: 244 kB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002595/1.137, allocations: 30.95 kB / 1.398 GB, free: 240 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/1.138, allocations: 165.7 kB / 1.398 GB, free: 176 kB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/1.138, allocations: 84.2 kB / 1.398 GB, free: 144 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.534e-05/1.138, allocations: 42.55 kB / 1.398 GB, free: 140 kB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002077/1.14, allocations: 1.378 MB / 1.4 GB, free: 15.83 MB / 1.029 GB Notification: Performance of sort global known variables: time 2e-07/1.14, allocations: 0 / 1.4 GB, free: 15.83 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002495/1.143, allocations: 0.9731 MB / 1.401 GB, free: 15.47 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 4 (hex.ele[1].vol1.dynBal.U,hex.ele[1].vol2.dynBal.medium.Xi[1],hex.ele[1].vol2.dynBal.U,hex.ele[1].mas.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008898/1.144, allocations: 472.8 kB / 1.401 GB, free: 15.06 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00338/1.147, allocations: 2.191 MB / 1.403 GB, free: 13.57 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/1.147, allocations: 0 / 1.403 GB, free: 13.57 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/1.148, allocations: 0.6688 MB / 1.404 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004719/1.153, allocations: 1.154 MB / 1.405 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006694/1.16, allocations: 5.198 MB / 1.41 GB, free: 7.473 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00155/1.161, allocations: 1.925 MB / 1.412 GB, free: 5.703 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002635/1.164, allocations: 0.801 MB / 1.413 GB, free: 4.914 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004268/1.164, allocations: 150.3 kB / 1.413 GB, free: 4.77 MB / 1.029 GB Notification: Performance of SimCode: time 8.91e-07/1.164, allocations: 0 / 1.413 GB, free: 4.77 MB / 1.029 GB Notification: Performance of Templates: time 0.06254/1.227, allocations: 41.12 MB / 1.453 GB, free: 12.33 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Validation_WetCoilCounterFlowLowWaterFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches