Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001107/0.001107, allocations: 92.23 kB / 15.06 MB, free: 1.098 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.001414/0.001414, allocations: 172.7 kB / 15.95 MB, free: 208 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.381/1.381, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.726/2.726, allocations: 462.6 MB / 0.736 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003273, allocations: 18.17 kB / 0.9021 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2489, allocations: 159.6 MB / 1.058 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.1898/0.4387, allocations: 192.4 MB / 1.246 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5555/0.9942, allocations: 9.997 MB / 1.256 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00218/0.9964, allocations: 53.09 kB / 1.256 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002088/0.9985, allocations: 0.5459 MB / 1.256 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006734/1.005, allocations: 1.843 MB / 1.258 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005415/1.011, allocations: 1.759 MB / 1.26 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004722/1.015, allocations: 3.974 MB / 1.264 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001624/1.017, allocations: 0.9946 MB / 1.265 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003041/1.02, allocations: 1.541 MB / 1.266 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001481/1.022, allocations: 1.051 MB / 1.267 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001741/1.022, allocations: 64.81 kB / 1.267 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004954/1.027, allocations: 2.234 MB / 1.269 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005409/1.027, allocations: 362.7 kB / 1.27 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008847/1.028, allocations: 343.7 kB / 1.27 GB, free: 22.41 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00386/1.032, allocations: 2.288 MB / 1.272 GB, free: 22.22 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/1.032, allocations: 0.6562 kB / 1.272 GB, free: 22.22 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.507e-06/1.032, allocations: 0.625 kB / 1.272 GB, free: 22.22 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.183e-05/1.032, allocations: 2.906 kB / 1.272 GB, free: 22.22 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.0047/1.037, allocations: 2.045 MB / 1.274 GB, free: 21.09 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/1.037, allocations: 12.56 kB / 1.274 GB, free: 21.09 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003038/1.04, allocations: 0.5868 MB / 1.275 GB, free: 20.97 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002705/1.043, allocations: 1.196 MB / 1.276 GB, free: 20.6 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006705/1.043, allocations: 219.5 kB / 1.276 GB, free: 20.59 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001966/1.044, allocations: 110.5 kB / 1.276 GB, free: 20.59 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002697/1.046, allocations: 1.346 MB / 1.278 GB, free: 20.45 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/1.046, allocations: 2.828 kB / 1.278 GB, free: 20.45 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/1.046, allocations: 38.22 kB / 1.278 GB, free: 20.45 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.927e-05/1.046, allocations: 47.83 kB / 1.278 GB, free: 20.45 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003064/1.05, allocations: 1.381 MB / 1.279 GB, free: 20.41 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.007964/1.058, allocations: 5.309 MB / 1.284 GB, free: 18.3 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002266/1.06, allocations: 1.061 MB / 1.285 GB, free: 18.14 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001157/1.061, allocations: 0.5598 MB / 1.286 GB, free: 18.12 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001046/1.062, allocations: 0.7904 MB / 1.287 GB, free: 17.36 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00137/1.063, allocations: 0.626 MB / 1.287 GB, free: 17.3 MB / 1.014 GB Notification: Performance of pre-optimization done (n=81): time 3.106e-06/1.063, allocations: 0 / 1.287 GB, free: 17.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=81): time 0.004115/1.068, allocations: 1.644 MB / 1.289 GB, free: 17.14 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/1.068, allocations: 66.66 kB / 1.289 GB, free: 17.08 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001684/1.069, allocations: 1.307 MB / 1.29 GB, free: 16.91 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001207/1.069, allocations: 50.02 kB / 1.29 GB, free: 16.88 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004704/1.07, allocations: 0.6485 MB / 1.291 GB, free: 16.67 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002/1.07, allocations: 278.8 kB / 1.291 GB, free: 16.49 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.768e-05/1.07, allocations: 22.03 kB / 1.291 GB, free: 16.49 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001207/1.07, allocations: 349.6 kB / 1.292 GB, free: 16.18 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001239/1.072, allocations: 0.5128 MB / 1.292 GB, free: 16.17 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001393/1.073, allocations: 0.7798 MB / 1.293 GB, free: 15.91 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/1.074, allocations: 0.5956 MB / 1.293 GB, free: 15.85 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/1.074, allocations: 4.984 kB / 1.293 GB, free: 15.85 MB / 1.014 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003211/1.078, allocations: 1.491 MB / 1.295 GB, free: 15.68 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001307/1.078, allocations: 264.9 kB / 1.295 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/1.078, allocations: 5.219 kB / 1.295 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/1.078, allocations: 10.72 kB / 1.295 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001717/1.079, allocations: 356.1 kB / 1.295 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006245/1.08, allocations: 1.193 MB / 1.297 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/1.082, allocations: 236.5 kB / 1.297 GB, free: 14.13 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/1.082, allocations: 53.23 kB / 1.297 GB, free: 14.13 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.815e-06/1.082, allocations: 7.562 kB / 1.297 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002867/1.085, allocations: 1.341 MB / 1.298 GB, free: 14.06 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/1.085, allocations: 6.375 kB / 1.298 GB, free: 14.06 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/1.085, allocations: 10.22 kB / 1.298 GB, free: 14.06 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/1.086, allocations: 319 kB / 1.299 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/1.086, allocations: 14.7 kB / 1.299 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/1.088, allocations: 226.2 kB / 1.299 GB, free: 13.99 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/1.088, allocations: 50.39 kB / 1.299 GB, free: 13.99 MB / 1.014 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 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007403/1.088, allocations: 407.8 kB / 1.299 GB, free: 13.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002373/1.089, allocations: 155.7 kB / 1.299 GB, free: 13.72 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003038/1.092, allocations: 1.361 MB / 1.301 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/1.092, allocations: 11.23 kB / 1.301 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/1.092, allocations: 4.188 kB / 1.301 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/1.092, allocations: 7.141 kB / 1.301 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004649/1.096, allocations: 2.892 MB / 1.304 GB, free: 13.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/1.096, allocations: 5.5 kB / 1.304 GB, free: 13.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/1.098, allocations: 242.2 kB / 1.304 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.848e-06/1.098, allocations: 9.672 kB / 1.304 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.087e-05/1.098, allocations: 24.52 kB / 1.304 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005292/1.098, allocations: 1.198 MB / 1.305 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/1.098, allocations: 6.344 kB / 1.305 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00376/1.102, allocations: 2.108 MB / 1.307 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005749/1.103, allocations: 374.1 kB / 1.307 GB, free: 11.33 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002059/1.103, allocations: 16.44 kB / 1.307 GB, free: 11.33 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/1.104, allocations: 153.5 kB / 1.308 GB, free: 11.32 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/1.104, allocations: 80.27 kB / 1.308 GB, free: 11.31 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-05/1.104, allocations: 41.55 kB / 1.308 GB, free: 11.31 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001102/1.105, allocations: 0.8799 MB / 1.309 GB, free: 11.2 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.105, allocations: 0 / 1.309 GB, free: 11.2 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002108/1.107, allocations: 0.7895 MB / 1.309 GB, free: 11.12 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (temSen.T,val.filter.s[1],val.filter.s[2],P.I.y) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001022/1.108, allocations: 480.5 kB / 1.31 GB, free: 10.95 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004472/1.113, allocations: 2.093 MB / 1.312 GB, free: 10.77 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/1.113, allocations: 5.906 kB / 1.312 GB, free: 10.77 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001352/1.114, allocations: 0.6459 MB / 1.312 GB, free: 10.75 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003035/1.117, allocations: 0.6956 MB / 1.313 GB, free: 10.69 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004483/1.122, allocations: 3.219 MB / 1.316 GB, free: 9.148 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007214/1.123, allocations: 1.232 MB / 1.317 GB, free: 8.41 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001823/1.124, allocations: 411.6 kB / 1.318 GB, free: 8.305 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003835/1.125, allocations: 123.2 kB / 1.318 GB, free: 8.297 MB / 1.014 GB Notification: Performance of SimCode: time 4.91e-07/1.125, allocations: 3.938 kB / 1.318 GB, free: 8.293 MB / 1.014 GB Notification: Performance of Templates: time 0.0454/1.17, allocations: 28.54 MB / 1.346 GB, free: 13.22 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches