Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.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.DryCoilEffectivenessNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hexCou.Q1_flow|hexCou.Q2_flow|hexCou.m1_flow|hexCou.m2_flow|hexPar.Q1_flow|hexCroC1Mix.Q1_flow|hexCroC1Unm.Q1_flow|hexCroUnm.Q1_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU") translateModel(Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hexCou.Q1_flow|hexCou.Q2_flow|hexCou.m1_flow|hexCou.m2_flow|hexPar.Q1_flow|hexCroC1Mix.Q1_flow|hexCroC1Unm.Q1_flow|hexCroUnm.Q1_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001705/0.001706, allocations: 177.3 kB / 15.94 MB, free: 228 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.351/1.351, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.484/2.484, allocations: 436.5 MB / 0.7104 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003418/0.0003418, allocations: 12 kB / 0.8707 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6322/0.6326, allocations: 153.7 MB / 1.021 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU): time 0.9235/1.556, allocations: 290.9 MB / 1.305 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03852/1.595, allocations: 29.45 MB / 1.334 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007566/1.602, allocations: 139.2 kB / 1.334 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.008574/1.611, allocations: 2.297 MB / 1.336 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.02558/1.637, allocations: 7.718 MB / 1.344 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.009855/1.646, allocations: 3.258 MB / 1.347 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01537/1.662, allocations: 7.318 MB / 1.354 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007091/1.669, allocations: 3.527 MB / 1.357 GB, free: 21.57 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01322/1.682, allocations: 5.046 MB / 1.362 GB, free: 20.83 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006191/1.688, allocations: 2.728 MB / 1.365 GB, free: 20.35 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001395/1.69, allocations: 212.3 kB / 1.365 GB, free: 20.35 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01036/1.7, allocations: 3.123 MB / 1.368 GB, free: 19.84 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002313/1.703, allocations: 1.08 MB / 1.369 GB, free: 19.57 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002905/1.705, allocations: 1.062 MB / 1.37 GB, free: 19.54 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009549/1.715, allocations: 6.143 MB / 1.376 GB, free: 16.37 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/1.715, allocations: 4 kB / 1.376 GB, free: 16.36 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.685e-06/1.715, allocations: 3.984 kB / 1.376 GB, free: 16.36 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000228/1.715, allocations: 0 / 1.376 GB, free: 16.36 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.01544/1.731, allocations: 5.244 MB / 1.381 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/1.731, allocations: 13.23 kB / 1.381 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01233/1.743, allocations: 2.232 MB / 1.384 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009482/1.753, allocations: 3.518 MB / 1.387 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003201/1.756, allocations: 0.9041 MB / 1.388 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001255/1.757, allocations: 350 kB / 1.388 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01061/1.768, allocations: 4.852 MB / 1.393 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.418e-05/1.768, allocations: 2.625 kB / 1.393 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003772/1.768, allocations: 136.6 kB / 1.393 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001256/1.768, allocations: 150.5 kB / 1.393 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0147/1.783, allocations: 5.529 MB / 1.399 GB, free: 5.617 MB / 0.9981 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.03802/1.821, allocations: 19.83 MB / 1.418 GB, free: 5.074 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01194/1.833, allocations: 4.046 MB / 1.422 GB, free: 1.977 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00087/1.834, allocations: 0.5232 MB / 1.423 GB, free: 1.395 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006861/1.841, allocations: 2.387 MB / 1.425 GB, free: 15.56 MB / 1.029 GB Notification: Performance of pre-optimization done (n=247): time 6.031e-06/1.841, allocations: 0 / 1.425 GB, free: 15.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=247): time 0.01891/1.86, allocations: 6.022 MB / 1.431 GB, free: 10.87 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.67e-05/1.86, allocations: 103.1 kB / 1.431 GB, free: 10.75 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006854/1.867, allocations: 3.677 MB / 1.434 GB, free: 7.316 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0009096/1.868, allocations: 85.7 kB / 1.435 GB, free: 7.227 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.002173/1.87, allocations: 1.85 MB / 1.436 GB, free: 5.375 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001457/1.871, allocations: 0.8375 MB / 1.437 GB, free: 4.547 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007009/1.872, allocations: 60 kB / 1.437 GB, free: 4.488 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0003301/1.873, allocations: 424.3 kB / 1.438 GB, free: 4.066 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006437/1.879, allocations: 1.981 MB / 1.44 GB, free: 2.082 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006952/1.886, allocations: 2.699 MB / 1.442 GB, free: 15.14 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006392/1.892, allocations: 2.11 MB / 1.444 GB, free: 13.02 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-05/1.892, allocations: 4 kB / 1.444 GB, free: 13.02 MB / 1.045 GB Notification: Performance of matching and sorting (n=389) (initialization): time 0.01567/1.908, allocations: 5.128 MB / 1.449 GB, free: 7.902 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.001792/1.91, allocations: 4.657 MB / 1.454 GB, free: 2.973 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.8e-05/1.91, allocations: 14.81 kB / 1.454 GB, free: 2.961 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.674e-05/1.91, allocations: 24 kB / 1.454 GB, free: 2.938 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007107/1.917, allocations: 1.226 MB / 1.455 GB, free: 1.75 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003355/1.921, allocations: 5.963 MB / 1.461 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006657/1.927, allocations: 0.8478 MB / 1.462 GB, free: 10.72 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008203/1.928, allocations: 155.9 kB / 1.462 GB, free: 10.57 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/1.928, allocations: 5.719 kB / 1.462 GB, free: 10.57 MB / 1.061 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01428/1.942, allocations: 4.723 MB / 1.466 GB, free: 5.871 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.28e-05/1.942, allocations: 16 kB / 1.466 GB, free: 5.855 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.547e-05/1.943, allocations: 28.77 kB / 1.466 GB, free: 5.828 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005644/1.948, allocations: 1.086 MB / 1.468 GB, free: 4.781 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-05/1.948, allocations: 33.8 kB / 1.468 GB, free: 4.754 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006692/1.955, allocations: 0.8051 MB / 1.468 GB, free: 3.945 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007768/1.956, allocations: 154.3 kB / 1.469 GB, free: 3.797 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,hexCroUnm.flowRegime,hexCroUnm.flowRegime_nominal,hexCroC1Unm.flowRegime,hexCroC1Unm.flowRegime_nominal,hexCroC1Mix.flowRegime,hexCroC1Mix.flowRegime_nominal,hexCou.flowRegime,hexCou.flowRegime_nominal,hexPar.flowRegime,hexPar.flowRegime_nominal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (388): * Single equations (assignments): 377 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * 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: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003018/1.959, allocations: 0.913 MB / 1.469 GB, free: 2.914 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001673/1.961, allocations: 446.6 kB / 1.47 GB, free: 2.473 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01438/1.975, allocations: 4.818 MB / 1.475 GB, free: 13.62 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.395e-05/1.975, allocations: 39.98 kB / 1.475 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.397e-05/1.975, allocations: 0 / 1.475 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.833e-05/1.975, allocations: 11.95 kB / 1.475 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02386/1.999, allocations: 9.283 MB / 1.484 GB, free: 4.211 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.156e-05/1.999, allocations: 8.594 kB / 1.484 GB, free: 4.203 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004794/2.004, allocations: 0.9071 MB / 1.485 GB, free: 3.328 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.764e-05/2.004, allocations: 12 kB / 1.485 GB, free: 3.316 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004545/2.004, allocations: 87.92 kB / 1.485 GB, free: 3.23 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003147/2.007, allocations: 5.931 MB / 1.49 GB, free: 13.08 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.226e-06/2.008, allocations: 15.14 kB / 1.49 GB, free: 13.07 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01425/2.022, allocations: 5.277 MB / 1.496 GB, free: 7.473 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003254/2.025, allocations: 1.022 MB / 1.497 GB, free: 6.426 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001412/2.026, allocations: 59.95 kB / 1.497 GB, free: 6.367 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006617/2.033, allocations: 0.7323 MB / 1.497 GB, free: 5.637 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005641/2.034, allocations: 188.7 kB / 1.498 GB, free: 5.453 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000532/2.034, allocations: 135.9 kB / 1.498 GB, free: 5.32 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0052/2.039, allocations: 2.417 MB / 1.5 GB, free: 2.906 MB / 1.092 GB Notification: Performance of sort global known variables: time 7.92e-07/2.04, allocations: 0 / 1.5 GB, free: 2.906 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.008814/2.048, allocations: 2.308 MB / 1.502 GB, free: 0.5938 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (279): * Single equations (assignments): 265 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * 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: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00216/2.051, allocations: 0.7419 MB / 1.503 GB, free: 15.93 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.02275/2.073, allocations: 7.46 MB / 1.51 GB, free: 8.543 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/2.073, allocations: 448 / 1.51 GB, free: 8.543 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.007214/2.081, allocations: 2.359 MB / 1.513 GB, free: 6.242 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01186/2.092, allocations: 2.03 MB / 1.515 GB, free: 4.234 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02664/2.119, allocations: 9.579 MB / 1.524 GB, free: 10.57 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003182/2.122, allocations: 2.465 MB / 1.526 GB, free: 8.074 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.008521/2.131, allocations: 1.238 MB / 1.528 GB, free: 6.883 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001866/2.133, allocations: 371.2 kB / 1.528 GB, free: 6.52 MB / 1.123 GB Notification: Performance of SimCode: time 8.81e-07/2.133, allocations: 3.094 kB / 1.528 GB, free: 6.52 MB / 1.123 GB Notification: Performance of Templates: time 0.1409/2.274, allocations: 82.64 MB / 1.609 GB, free: 4.938 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches