Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.ConstantEffectiveness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T_a1.T|T_b1.T|T_a2.T|T_b2.T|hex.m1_flow|hex.m2_flow|hex.Q1_flow|hex.Q2_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T_a1.T|T_b1.T|T_a2.T|T_b2.T|hex.m1_flow|hex.m2_flow|hex.Q1_flow|hex.Q2_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.0094/0.0094, allocations: 170 kB / 16.26 MB, free: 6.613 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.518/1.518, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.12/3.12, allocations: 483.2 MB / 0.7564 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0003501/0.0003501, allocations: 9.156 kB / 0.9276 GB, free: 29.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3747, allocations: 164.5 MB / 1.088 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.9736/1.348, allocations: 213.1 MB / 1.296 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01538/1.364, allocations: 9.35 MB / 1.305 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002927/1.367, allocations: 45.88 kB / 1.306 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002949/1.37, allocations: 0.6497 MB / 1.306 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008279/1.378, allocations: 2.091 MB / 1.308 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006051/1.384, allocations: 1.79 MB / 1.31 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007122/1.391, allocations: 4.247 MB / 1.314 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001972/1.393, allocations: 0.9799 MB / 1.315 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006162/1.399, allocations: 1.886 MB / 1.317 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002946/1.402, allocations: 0.9841 MB / 1.318 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002977/1.403, allocations: 54.22 kB / 1.318 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007334/1.41, allocations: 2.705 MB / 1.321 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000774/1.411, allocations: 323.8 kB / 1.321 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001811/1.413, allocations: 0.7137 MB / 1.322 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006259/1.419, allocations: 2.763 MB / 1.324 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/1.419, allocations: 4.188 kB / 1.324 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.944e-06/1.419, allocations: 4 kB / 1.324 GB, free: 6 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.914e-05/1.419, allocations: 0 / 1.324 GB, free: 6 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.004937/1.424, allocations: 1.723 MB / 1.326 GB, free: 21.01 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/1.424, allocations: 9.625 kB / 1.326 GB, free: 21.01 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003691/1.428, allocations: 0.5891 MB / 1.327 GB, free: 20.91 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002371/1.43, allocations: 1.057 MB / 1.328 GB, free: 20.53 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007083/1.431, allocations: 202 kB / 1.328 GB, free: 20.51 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002035/1.431, allocations: 91.19 kB / 1.328 GB, free: 20.51 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00314/1.434, allocations: 1.355 MB / 1.329 GB, free: 20.33 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/1.434, allocations: 1.156 kB / 1.329 GB, free: 20.33 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/1.434, allocations: 38.73 kB / 1.329 GB, free: 20.33 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.048e-05/1.434, allocations: 38.19 kB / 1.329 GB, free: 20.33 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003792/1.438, allocations: 1.423 MB / 1.331 GB, free: 20.29 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.009249/1.447, allocations: 5.881 MB / 1.336 GB, free: 17.1 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002871/1.45, allocations: 1.239 MB / 1.338 GB, free: 16.84 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001387/1.452, allocations: 0.595 MB / 1.338 GB, free: 16.81 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001591/1.453, allocations: 1.104 MB / 1.339 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0016/1.455, allocations: 0.697 MB / 1.34 GB, free: 15.59 MB / 1.014 GB Notification: Performance of pre-optimization done (n=69): time 2.575e-06/1.455, allocations: 0 / 1.34 GB, free: 15.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=69): time 0.00475/1.46, allocations: 1.693 MB / 1.342 GB, free: 15.42 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.028e-05/1.46, allocations: 85.7 kB / 1.342 GB, free: 15.32 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/1.461, allocations: 1.029 MB / 1.343 GB, free: 14.91 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000109/1.461, allocations: 43.55 kB / 1.343 GB, free: 14.87 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003796/1.462, allocations: 0.5428 MB / 1.343 GB, free: 14.44 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001814/1.462, allocations: 233.5 kB / 1.343 GB, free: 14.26 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.303e-05/1.462, allocations: 60.83 kB / 1.343 GB, free: 14.22 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001614/1.462, allocations: 334.8 kB / 1.344 GB, free: 13.91 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001303/1.463, allocations: 0.4953 MB / 1.344 GB, free: 13.78 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001427/1.465, allocations: 0.6712 MB / 1.345 GB, free: 13.46 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002673/1.468, allocations: 1.126 MB / 1.346 GB, free: 13.01 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/1.468, allocations: 2.625 kB / 1.346 GB, free: 13.01 MB / 1.014 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00344/1.471, allocations: 1.329 MB / 1.347 GB, free: 12.57 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001818/1.471, allocations: 218.8 kB / 1.348 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/1.471, allocations: 3.156 kB / 1.348 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/1.471, allocations: 8.453 kB / 1.348 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/1.473, allocations: 284.5 kB / 1.348 GB, free: 12.31 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008766/1.474, allocations: 1.197 MB / 1.349 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/1.475, allocations: 226.5 kB / 1.349 GB, free: 11.05 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.917e-05/1.475, allocations: 36.16 kB / 1.349 GB, free: 11.04 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.606e-06/1.475, allocations: 2.5 kB / 1.349 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002887/1.478, allocations: 1.197 MB / 1.35 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/1.478, allocations: 2.562 kB / 1.35 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.846e-06/1.478, allocations: 10.06 kB / 1.35 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/1.479, allocations: 259.5 kB / 1.351 GB, free: 10.67 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/1.479, allocations: 12.59 kB / 1.351 GB, free: 10.67 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/1.481, allocations: 211.5 kB / 1.351 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.496e-05/1.481, allocations: 39.16 kB / 1.351 GB, free: 10.6 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 5 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * 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.0007551/1.482, allocations: 364.1 kB / 1.351 GB, free: 10.32 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000185/1.482, allocations: 122.6 kB / 1.351 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003424/1.485, allocations: 1.48 MB / 1.353 GB, free: 9.766 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-05/1.485, allocations: 24.47 kB / 1.353 GB, free: 9.754 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/1.485, allocations: 0 / 1.353 GB, free: 9.754 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/1.485, allocations: 3.281 kB / 1.353 GB, free: 9.754 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005504/1.491, allocations: 2.822 MB / 1.356 GB, free: 8.555 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/1.491, allocations: 2.469 kB / 1.356 GB, free: 8.555 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/1.492, allocations: 243.4 kB / 1.356 GB, free: 8.543 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.728e-06/1.492, allocations: 5.812 kB / 1.356 GB, free: 8.543 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.263e-05/1.492, allocations: 26.48 kB / 1.356 GB, free: 8.531 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008053/1.493, allocations: 1.192 MB / 1.357 GB, free: 7.34 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/1.493, allocations: 8.688 kB / 1.357 GB, free: 7.34 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003352/1.496, allocations: 1.507 MB / 1.359 GB, free: 6.68 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006713/1.497, allocations: 337.3 kB / 1.359 GB, free: 6.445 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001526/1.497, allocations: 17.09 kB / 1.359 GB, free: 6.438 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/1.498, allocations: 180 kB / 1.359 GB, free: 6.367 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/1.499, allocations: 78.09 kB / 1.359 GB, free: 6.324 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.094e-05/1.499, allocations: 34.95 kB / 1.359 GB, free: 6.312 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001044/1.5, allocations: 0.7077 MB / 1.36 GB, free: 5.914 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/1.5, allocations: 0 / 1.36 GB, free: 5.914 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001765/1.502, allocations: 0.613 MB / 1.36 GB, free: 5.793 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (79): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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 Backend phase and start with SimCode phase: time 0.0008119/1.502, allocations: 359.7 kB / 1.361 GB, free: 5.598 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005273/1.508, allocations: 1.966 MB / 1.363 GB, free: 4.715 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/1.508, allocations: 0 / 1.363 GB, free: 4.715 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001914/1.51, allocations: 0.6949 MB / 1.363 GB, free: 4.434 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004144/1.514, allocations: 0.605 MB / 1.364 GB, free: 4.125 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006056/1.52, allocations: 2.792 MB / 1.367 GB, free: 2.262 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001012/1.521, allocations: 1.134 MB / 1.368 GB, free: 1.367 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001732/1.523, allocations: 373.3 kB / 1.368 GB, free: 1.188 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003265/1.523, allocations: 107.7 kB / 1.368 GB, free: 1.16 MB / 1.014 GB Notification: Performance of SimCode: time 1.322e-06/1.523, allocations: 3.281 kB / 1.368 GB, free: 1.16 MB / 1.014 GB Notification: Performance of Templates: time 0.04623/1.569, allocations: 24.12 MB / 1.392 GB, free: 2.707 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches