Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|P.u_s|P.u_m|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",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|P.u_s|P.u_m|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",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 110.5 kB / 16.41 MB, free: 6.465 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.001843/0.001843, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.377/1.377, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.445/2.445, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002351/0.002351, allocations: 67.89 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7797/0.782, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.2199/1.002, allocations: 211.1 MB / 1.373 GB, free: 15.91 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01754/1.02, allocations: 10.66 MB / 1.384 GB, free: 5.223 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002772/1.022, allocations: 59.62 kB / 1.384 GB, free: 5.164 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002745/1.025, allocations: 0.8421 MB / 1.385 GB, free: 4.316 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.00683/1.032, allocations: 2.591 MB / 1.387 GB, free: 1.719 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.006209/1.038, allocations: 2.299 MB / 1.39 GB, free: 15.44 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.005845/1.044, allocations: 3.709 MB / 1.393 GB, free: 11.72 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002499/1.047, allocations: 1.338 MB / 1.394 GB, free: 10.35 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005091/1.052, allocations: 2.004 MB / 1.396 GB, free: 8.344 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00227/1.054, allocations: 1.15 MB / 1.398 GB, free: 7.191 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0005543/1.055, allocations: 152 kB / 1.398 GB, free: 7.043 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00577/1.06, allocations: 3.084 MB / 1.401 GB, free: 3.953 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0007619/1.061, allocations: 470.4 kB / 1.401 GB, free: 3.492 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001677/1.063, allocations: 0.9017 MB / 1.402 GB, free: 2.586 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.006621/1.07, allocations: 3.353 MB / 1.405 GB, free: 15.22 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.545e-06/1.07, allocations: 4 kB / 1.405 GB, free: 15.22 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.794e-06/1.07, allocations: 3.938 kB / 1.405 GB, free: 15.21 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.577e-05/1.07, allocations: 0 / 1.405 GB, free: 15.21 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.005865/1.075, allocations: 2.416 MB / 1.408 GB, free: 12.73 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/1.076, allocations: 8.922 kB / 1.408 GB, free: 12.72 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003155/1.079, allocations: 0.5646 MB / 1.408 GB, free: 12.16 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003051/1.082, allocations: 1.317 MB / 1.41 GB, free: 10.79 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.751e-05/1.082, allocations: 82 kB / 1.41 GB, free: 10.71 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002746/1.082, allocations: 115.9 kB / 1.41 GB, free: 10.59 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002967/1.085, allocations: 1.314 MB / 1.411 GB, free: 9.25 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/1.085, allocations: 3.938 kB / 1.411 GB, free: 9.246 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001292/1.085, allocations: 43.98 kB / 1.411 GB, free: 9.203 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.347e-05/1.085, allocations: 45.98 kB / 1.411 GB, free: 9.156 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003461/1.089, allocations: 1.327 MB / 1.412 GB, free: 7.832 MB / 1.139 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.009242/1.098, allocations: 5.276 MB / 1.418 GB, free: 2.254 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002529/1.101, allocations: 0.9838 MB / 1.419 GB, free: 1.242 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00127/1.102, allocations: 0.5298 MB / 1.419 GB, free: 0.7109 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001103/1.103, allocations: 0.7552 MB / 1.42 GB, free: 15.81 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001531/1.105, allocations: 0.6016 MB / 1.42 GB, free: 15.19 MB / 1.154 GB Notification: Performance of pre-optimization done (n=81): time 3.757e-06/1.105, allocations: 0 / 1.42 GB, free: 15.19 MB / 1.154 GB Notification: Performance of matching and sorting (n=81): time 0.004593/1.109, allocations: 1.563 MB / 1.422 GB, free: 13.62 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/1.109, allocations: 64 kB / 1.422 GB, free: 13.55 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002172/1.111, allocations: 1.334 MB / 1.423 GB, free: 12.21 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001865/1.112, allocations: 53.7 kB / 1.423 GB, free: 12.15 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006413/1.112, allocations: 0.6436 MB / 1.424 GB, free: 11.5 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003093/1.113, allocations: 297.4 kB / 1.424 GB, free: 11.21 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004719/1.113, allocations: 234.8 kB / 1.424 GB, free: 10.97 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001411/1.113, allocations: 349.9 kB / 1.425 GB, free: 10.62 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001401/1.115, allocations: 0.4978 MB / 1.425 GB, free: 10.12 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001647/1.116, allocations: 0.7564 MB / 1.426 GB, free: 9.277 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002885/1.119, allocations: 1.151 MB / 1.427 GB, free: 8.055 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/1.119, allocations: 0 / 1.427 GB, free: 8.055 MB / 1.154 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003756/1.123, allocations: 1.451 MB / 1.429 GB, free: 6.59 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 6.248e-05/1.123, allocations: 41.62 kB / 1.429 GB, free: 6.543 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/1.123, allocations: 4 kB / 1.429 GB, free: 6.539 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-05/1.123, allocations: 12 kB / 1.429 GB, free: 6.527 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001778/1.125, allocations: 343.7 kB / 1.429 GB, free: 6.191 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007342/1.126, allocations: 1.191 MB / 1.43 GB, free: 4.953 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/1.127, allocations: 191.2 kB / 1.43 GB, free: 4.766 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/1.128, allocations: 55.97 kB / 1.43 GB, free: 4.711 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001836/1.129, allocations: 0.7484 MB / 1.431 GB, free: 3.961 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001553/1.131, allocations: 0.7433 MB / 1.432 GB, free: 3.129 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002712/1.134, allocations: 1.151 MB / 1.433 GB, free: 1.91 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.368e-06/1.134, allocations: 0 / 1.433 GB, free: 1.91 MB / 1.154 GB Notification: Performance of matching and sorting (n=131) (initialization_lambda0): time 0.003693/1.137, allocations: 1.447 MB / 1.434 GB, free: 456 kB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.843e-05/1.137, allocations: 37.69 kB / 1.434 GB, free: 412 kB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/1.137, allocations: 4 kB / 1.434 GB, free: 408 kB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/1.138, allocations: 12 kB / 1.434 GB, free: 396 kB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/1.139, allocations: 299.7 kB / 1.435 GB, free: 96 kB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.964e-05/1.139, allocations: 11.98 kB / 1.435 GB, free: 84 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001677/1.141, allocations: 171.4 kB / 1.435 GB, free: 15.91 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/1.141, allocations: 51.97 kB / 1.435 GB, free: 15.86 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 8 (hex.flowRegime_nominal,hex.flowRegime,TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,P.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003514/1.141, allocations: 251.9 kB / 1.435 GB, free: 15.61 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004092/1.142, allocations: 159 kB / 1.435 GB, free: 15.45 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003468/1.145, allocations: 1.3 MB / 1.437 GB, free: 14.15 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/1.145, allocations: 7.984 kB / 1.437 GB, free: 14.14 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/1.145, allocations: 0 / 1.437 GB, free: 14.14 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000694/1.146, allocations: 375.6 kB / 1.437 GB, free: 13.75 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002764/1.146, allocations: 23.92 kB / 1.437 GB, free: 13.73 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/1.147, allocations: 104.3 kB / 1.437 GB, free: 13.63 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/1.148, allocations: 64.84 kB / 1.437 GB, free: 13.57 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003767/1.151, allocations: 1.284 MB / 1.438 GB, free: 12.27 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004505/1.156, allocations: 1.991 MB / 1.44 GB, free: 10.26 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001299/1.157, allocations: 0.5347 MB / 1.441 GB, free: 9.723 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001443/1.159, allocations: 0.8979 MB / 1.442 GB, free: 8.828 MB / 1.17 GB Notification: Performance of Backend: time 4.71e-07/1.159, allocations: 0 / 1.442 GB, free: 8.828 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.007388/1.166, allocations: 2.29 MB / 1.444 GB, free: 6.527 MB / 1.17 GB Notification: Performance of SimCode: time 0.006106/1.172, allocations: 3.218 MB / 1.447 GB, free: 3.258 MB / 1.17 GB Notification: Performance of Templates: time 0.06545/1.238, allocations: 40.49 MB / 1.487 GB, free: 11.02 MB / 1.217 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches