Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hexWetNTU.Q1_flow|hexWetNTU_TX.Q1_flow|hexWetNTU.sta_b2.T|hexWetNTU_TX.sta_b2.T|relHumOut_eps.phi|hexWetNTU.SHR|hexWetNTU.dryFra|hexWetNTU.UA_nominal|hexWetNTU_TX.UA_nominal",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") translateModel(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hexWetNTU.Q1_flow|hexWetNTU_TX.Q1_flow|hexWetNTU.sta_b2.T|hexWetNTU_TX.sta_b2.T|relHumOut_eps.phi|hexWetNTU.SHR|hexWetNTU.dryFra|hexWetNTU.UA_nominal|hexWetNTU_TX.UA_nominal",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 100.3 kB / 16.27 MB, free: 5.961 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.001933/0.001933, allocations: 188.1 kB / 17.19 MB, free: 5.594 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.379/1.379, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.285/2.285, allocations: 390.3 MB / 0.6653 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001287, allocations: 63.02 kB / 0.8132 GB, free: 33.11 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3028, allocations: 140.4 MB / 0.9503 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 1.085/1.388, allocations: 369.8 MB / 1.311 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.05522/1.443, allocations: 33.31 MB / 1.344 GB, free: 13.93 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0101/1.454, allocations: 159.1 kB / 1.344 GB, free: 13.78 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.008766/1.462, allocations: 2.364 MB / 1.346 GB, free: 11.4 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.02503/1.487, allocations: 7.49 MB / 1.354 GB, free: 3.879 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0133/1.501, allocations: 4.521 MB / 1.358 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01768/1.519, allocations: 11.03 MB / 1.369 GB, free: 4.332 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008401/1.527, allocations: 3.976 MB / 1.373 GB, free: 296 kB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01653/1.544, allocations: 5.425 MB / 1.378 GB, free: 10.91 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007511/1.551, allocations: 3.439 MB / 1.381 GB, free: 7.469 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.002541/1.554, allocations: 0.5508 MB / 1.382 GB, free: 6.918 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01648/1.57, allocations: 6.746 MB / 1.389 GB, free: 164 kB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.003124/1.573, allocations: 1.472 MB / 1.39 GB, free: 14.68 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.007423/1.581, allocations: 2.831 MB / 1.393 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.02438/1.605, allocations: 9.646 MB / 1.402 GB, free: 2.168 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/1.605, allocations: 4 kB / 1.402 GB, free: 2.164 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.194e-06/1.605, allocations: 4 kB / 1.402 GB, free: 2.16 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.000326/1.606, allocations: 0 / 1.402 GB, free: 2.16 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 851 * Number of variables: 851 Notification: Performance of Generate backend data structure: time 0.01972/1.625, allocations: 5.947 MB / 1.408 GB, free: 12.11 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/1.625, allocations: 8.031 kB / 1.408 GB, free: 12.1 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03102/1.656, allocations: 4.286 MB / 1.412 GB, free: 7.805 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01019/1.667, allocations: 3.552 MB / 1.416 GB, free: 4.188 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001708/1.668, allocations: 0.524 MB / 1.416 GB, free: 3.656 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001831/1.67, allocations: 359.9 kB / 1.416 GB, free: 3.305 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02099/1.691, allocations: 5.712 MB / 1.422 GB, free: 13.5 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001559/1.691, allocations: 7.938 kB / 1.422 GB, free: 13.5 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001437/1.693, allocations: 135.9 kB / 1.422 GB, free: 13.37 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001853/1.693, allocations: 134.5 kB / 1.422 GB, free: 13.23 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02415/1.717, allocations: 6.829 MB / 1.429 GB, free: 6.395 MB / 1.092 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.05182/1.769, allocations: 22.3 MB / 1.451 GB, free: 14.96 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01274/1.782, allocations: 4.075 MB / 1.455 GB, free: 10.89 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007165/1.789, allocations: 2.262 MB / 1.457 GB, free: 8.629 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01811/1.807, allocations: 8.18 MB / 1.465 GB, free: 72 kB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007538/1.815, allocations: 2.393 MB / 1.467 GB, free: 13.66 MB / 1.139 GB Notification: Performance of pre-optimization done (n=230): time 5.701e-06/1.815, allocations: 0 / 1.467 GB, free: 13.66 MB / 1.139 GB Notification: Performance of matching and sorting (n=230): time 0.03434/1.849, allocations: 8.438 MB / 1.476 GB, free: 5.086 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.556e-05/1.849, allocations: 77.39 kB / 1.476 GB, free: 5 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01188/1.861, allocations: 4.312 MB / 1.48 GB, free: 0.668 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.001017/1.862, allocations: 73.7 kB / 1.48 GB, free: 0.5898 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.002696/1.865, allocations: 1.821 MB / 1.482 GB, free: 14.75 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.001758/1.867, allocations: 0.8011 MB / 1.482 GB, free: 13.94 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004115/1.871, allocations: 0.808 MB / 1.483 GB, free: 13.12 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001304/1.871, allocations: 305.1 kB / 1.484 GB, free: 12.82 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01026/1.881, allocations: 2.735 MB / 1.486 GB, free: 10.08 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01128/1.893, allocations: 3.424 MB / 1.49 GB, free: 6.426 MB / 1.154 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.02146/1.914, allocations: 5.962 MB / 1.495 GB, free: 228 kB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.793e-05/1.914, allocations: 4 kB / 1.495 GB, free: 224 kB / 1.154 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.03204/1.946, allocations: 7.587 MB / 1.503 GB, free: 8.562 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 4.935e-05/1.947, allocations: 12 kB / 1.503 GB, free: 8.551 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.408e-05/1.947, allocations: 15.94 kB / 1.503 GB, free: 8.535 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004144/1.951, allocations: 0.9679 MB / 1.504 GB, free: 7.539 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009372/1.96, allocations: 1.42 MB / 1.505 GB, free: 6.117 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01776/1.978, allocations: 14.47 MB / 1.519 GB, free: 6.551 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01168/1.99, allocations: 1.198 MB / 1.52 GB, free: 5.348 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001371/1.991, allocations: 187.8 kB / 1.521 GB, free: 5.164 MB / 1.186 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: hexWetNTU.UAFroRated.TAirIn = 293.15 hexWetNTU.UAFroRated.TWatIn = 293.15. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 13 (hexWetNTU.UAFroRated.isFulWet,hexWetNTU.UAFroRated.isFulDry,hexWetNTU.flowRegime_nominal,hexWetNTU_TX.flowRegime_nominal,$PRE.w_a2.nextTimeEvent,$whenCondition1,hexWetNTU_TX.UAFroRated.isFulWet,hexWetNTU_TX.UAFroRated.isFulDry,w_a2.nextTimeEventScaled,$PRE.w_a2.nextTimeEventScaled,w_a2.nextTimeEvent,hexWetNTU_TX.flowRegime,hexWetNTU.flowRegime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (418): * Single equations (assignments): 403 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 9 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 9 systems {(1,1), (1,3), (1,2), (1,2), (1,4), (1,2), (1,4), (1,2), (5,2)} Notification: Performance of prepare postOptimizeDAE: time 0.003491/1.995, allocations: 0.8562 MB / 1.521 GB, free: 4.297 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001876/1.996, allocations: 426.7 kB / 1.522 GB, free: 3.875 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02172/2.018, allocations: 5.792 MB / 1.528 GB, free: 14.05 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.061e-05/2.018, allocations: 27.94 kB / 1.528 GB, free: 14.02 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.547e-06/2.018, allocations: 3.938 kB / 1.528 GB, free: 14.02 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.265e-05/2.018, allocations: 15.95 kB / 1.528 GB, free: 14 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0328/2.051, allocations: 10.91 MB / 1.538 GB, free: 2.926 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.656e-05/2.051, allocations: 4 kB / 1.538 GB, free: 2.922 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004902/2.056, allocations: 0.6752 MB / 1.539 GB, free: 2.246 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003233/2.059, allocations: 0.7638 MB / 1.54 GB, free: 1.457 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006909/2.06, allocations: 83.84 kB / 1.54 GB, free: 1.375 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6032/2.663, allocations: 11.68 MB / 1.551 GB, free: 452.5 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.254e-05/2.663, allocations: 11.55 kB / 1.551 GB, free: 452.5 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03351/2.697, allocations: 8.203 MB / 1.559 GB, free: 450.3 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003749/2.701, allocations: 1.064 MB / 1.56 GB, free: 449.8 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001834/2.703, allocations: 47.22 kB / 1.56 GB, free: 449.8 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00765/2.71, allocations: 0.5336 MB / 1.561 GB, free: 449.8 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009379/2.711, allocations: 173 kB / 1.561 GB, free: 449.7 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005684/2.712, allocations: 110.1 kB / 1.561 GB, free: 449.7 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.008276/2.72, allocations: 2.964 MB / 1.564 GB, free: 448.7 MB / 1.201 GB Notification: Performance of sort global known variables: time 9.12e-07/2.72, allocations: 0.9688 kB / 1.564 GB, free: 448.7 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.007751/2.728, allocations: 1.532 MB / 1.565 GB, free: 448.6 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (relHumIn.phi,TDryBulIn.T,senMasFraIn.X,senMasFraOut.X,TDryBulOut.T,hexWetNTU.dryWetCalcs.fullyWet.TWatOutEst,relHumOut_eps.phi,hexWetNTU_TX.dryWetCalcs.fullyWet.TWatOutEst) * Number of discrete variables: 5 ($whenCondition1,hexWetNTU.flowRegime,hexWetNTU_TX.flowRegime,w_a2.nextTimeEvent,w_a2.nextTimeEventScaled) * Number of discrete states: 2 (w_a2.nextTimeEvent,w_a2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (227): * Single equations (assignments): 214 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 8 systems {(1,4), (1,2), (1,4), (1,2), (1,1), (1,1), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003464/2.731, allocations: 1.057 MB / 1.566 GB, free: 448.4 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0287/2.76, allocations: 7.042 MB / 1.573 GB, free: 446.1 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/2.76, allocations: 0.9062 kB / 1.573 GB, free: 446.1 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.009976/2.77, allocations: 3.045 MB / 1.576 GB, free: 444.7 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01284/2.783, allocations: 2.096 MB / 1.578 GB, free: 444.2 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03125/2.814, allocations: 9.368 MB / 1.587 GB, free: 440.3 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00227/2.817, allocations: 2.293 MB / 1.59 GB, free: 439.4 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003156/2.82, allocations: 429.2 kB / 1.59 GB, free: 439.3 MB / 1.201 GB Notification: Performance of SimCode: time 1.363e-06/2.82, allocations: 0 / 1.59 GB, free: 439.3 MB / 1.201 GB Notification: Performance of Templates: time 0.2147/3.035, allocations: 259.9 MB / 1.844 GB, free: 196.1 MB / 1.201 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches