Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_TEva.COP_nominal|chi_TEva.COP|chi_TEva.m1_flow|chi_TEva.m2_flow|chi_TEva.m1_flow_nominal|chi_TEva.m2_flow_nominal|chi_TEva.TCon_nominal|chi_TEva.TEva_nominal|chi_TEva.sta_b1.T|chi_TEva.sta_b2.T|chi_TEva.sta_a1.T|chi_TEva.sta_a2.T|chi_y.COP_nominal|chi_y.COP|chi_y.m1_flow_nominal|chi_y.m2_flow_nominal|chi_y.m2_flow|chi_y.m1_flow|chi_y.TCon_nominal|chi_y.TEva_nominal|chi_y.sta_a1.T|chi_y.sta_b1.T|chi_y.sta_a2.T|chi_y.sta_b2.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_TEva.COP_nominal|chi_TEva.COP|chi_TEva.m1_flow|chi_TEva.m2_flow|chi_TEva.m1_flow_nominal|chi_TEva.m2_flow_nominal|chi_TEva.TCon_nominal|chi_TEva.TEva_nominal|chi_TEva.sta_b1.T|chi_TEva.sta_b2.T|chi_TEva.sta_a1.T|chi_TEva.sta_a2.T|chi_y.COP_nominal|chi_y.COP|chi_y.m1_flow_nominal|chi_y.m2_flow_nominal|chi_y.m2_flow|chi_y.m1_flow|chi_y.TCon_nominal|chi_y.TEva_nominal|chi_y.sta_a1.T|chi_y.sta_b1.T|chi_y.sta_a2.T|chi_y.sta_b2.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006574/0.006575, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001295/0.001295, allocations: 192.2 kB / 16.67 MB, free: 5.969 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.564/2.564, allocations: 437 MB / 0.7105 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 63.89 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.034/1.035, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1323/1.168, allocations: 132.3 MB / 1.296 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.03792/1.206, allocations: 23.23 MB / 1.318 GB, free: 7.883 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007746/1.213, allocations: 131.2 kB / 1.319 GB, free: 7.754 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.005534/1.219, allocations: 1.526 MB / 1.32 GB, free: 6.219 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01496/1.234, allocations: 4.334 MB / 1.324 GB, free: 1.867 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.006553/1.241, allocations: 2.169 MB / 1.326 GB, free: 15.72 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01103/1.252, allocations: 6.559 MB / 1.333 GB, free: 9.145 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004822/1.256, allocations: 2.351 MB / 1.335 GB, free: 6.734 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007934/1.264, allocations: 2.814 MB / 1.338 GB, free: 3.918 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004209/1.269, allocations: 1.891 MB / 1.34 GB, free: 2.02 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001077/1.27, allocations: 248 kB / 1.34 GB, free: 1.777 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006756/1.276, allocations: 1.942 MB / 1.342 GB, free: 15.83 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001341/1.278, allocations: 0.5953 MB / 1.342 GB, free: 15.23 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.00384/1.282, allocations: 1.458 MB / 1.344 GB, free: 13.77 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.009523/1.291, allocations: 4.372 MB / 1.348 GB, free: 9.387 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/1.291, allocations: 4 kB / 1.348 GB, free: 9.383 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.326e-06/1.291, allocations: 0 / 1.348 GB, free: 9.383 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.059e-05/1.291, allocations: 3.938 kB / 1.348 GB, free: 9.379 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.00694/1.298, allocations: 3.27 MB / 1.351 GB, free: 6.02 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/1.298, allocations: 12.92 kB / 1.351 GB, free: 6.008 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004604/1.303, allocations: 0.8652 MB / 1.352 GB, free: 5.141 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005113/1.308, allocations: 2.333 MB / 1.354 GB, free: 2.734 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/1.308, allocations: 123 kB / 1.355 GB, free: 2.613 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002682/1.309, allocations: 160 kB / 1.355 GB, free: 2.457 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004357/1.313, allocations: 1.923 MB / 1.357 GB, free: 480 kB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.845e-05/1.313, allocations: 11.94 kB / 1.357 GB, free: 468 kB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001625/1.313, allocations: 60 kB / 1.357 GB, free: 408 kB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.299e-05/1.313, allocations: 40 kB / 1.357 GB, free: 368 kB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004603/1.318, allocations: 1.8 MB / 1.358 GB, free: 14.55 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.01441/1.332, allocations: 9.026 MB / 1.367 GB, free: 4.93 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004215/1.337, allocations: 1.193 MB / 1.368 GB, free: 3.719 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001079/1.338, allocations: 461.4 kB / 1.369 GB, free: 3.262 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00124/1.339, allocations: 1.723 MB / 1.371 GB, free: 1.152 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/1.339, allocations: 42.56 kB / 1.371 GB, free: 1.102 MB / 1.092 GB Notification: Performance of pre-optimization done (n=76): time 3.597e-06/1.339, allocations: 0 / 1.371 GB, free: 1.102 MB / 1.092 GB Notification: Performance of matching and sorting (n=76): time 0.008809/1.348, allocations: 2.357 MB / 1.373 GB, free: 14.69 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.955e-05/1.348, allocations: 85.11 kB / 1.373 GB, free: 14.59 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004958/1.353, allocations: 2.528 MB / 1.375 GB, free: 12.04 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002377/1.353, allocations: 45.7 kB / 1.376 GB, free: 11.99 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001078/1.354, allocations: 1.051 MB / 1.377 GB, free: 10.93 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.00037/1.355, allocations: 281.6 kB / 1.377 GB, free: 10.66 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004539/1.355, allocations: 262.7 kB / 1.377 GB, free: 10.39 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001199/1.355, allocations: 345.9 kB / 1.377 GB, free: 10.05 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00166/1.357, allocations: 0.5764 MB / 1.378 GB, free: 9.473 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002104/1.359, allocations: 0.9504 MB / 1.379 GB, free: 8.371 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002944/1.362, allocations: 1.244 MB / 1.38 GB, free: 7.023 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/1.362, allocations: 4 kB / 1.38 GB, free: 7.02 MB / 1.107 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006596/1.368, allocations: 2.033 MB / 1.382 GB, free: 4.969 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.175e-05/1.369, allocations: 8.625 kB / 1.382 GB, free: 4.961 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/1.369, allocations: 12 kB / 1.382 GB, free: 4.949 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001869/1.37, allocations: 497.1 kB / 1.383 GB, free: 4.457 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/1.372, allocations: 283.6 kB / 1.383 GB, free: 4.18 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002214/1.374, allocations: 1.514 MB / 1.384 GB, free: 2.617 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0031/1.377, allocations: 374.5 kB / 1.385 GB, free: 2.25 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001711/1.377, allocations: 67.95 kB / 1.385 GB, free: 2.184 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001037/1.378, allocations: 457.8 kB / 1.385 GB, free: 1.727 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007183/1.379, allocations: 258.4 kB / 1.385 GB, free: 1.473 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003798/1.383, allocations: 1.493 MB / 1.387 GB, free: 15.96 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-05/1.383, allocations: 19.92 kB / 1.387 GB, free: 15.94 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/1.383, allocations: 4 kB / 1.387 GB, free: 15.93 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/1.383, allocations: 3.984 kB / 1.387 GB, free: 15.93 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008409/1.391, allocations: 3.641 MB / 1.39 GB, free: 12.18 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/1.391, allocations: 4 kB / 1.39 GB, free: 12.17 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005761/1.392, allocations: 119.8 kB / 1.391 GB, free: 12.05 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001646/1.394, allocations: 0.4914 MB / 1.391 GB, free: 11.56 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.84e-05/1.394, allocations: 27.98 kB / 1.391 GB, free: 11.53 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002763/1.396, allocations: 1.585 MB / 1.393 GB, free: 9.895 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/1.396, allocations: 4 kB / 1.393 GB, free: 9.891 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006362/1.403, allocations: 1.948 MB / 1.395 GB, free: 7.883 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001363/1.404, allocations: 0.4912 MB / 1.395 GB, free: 7.371 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002921/1.405, allocations: 27.88 kB / 1.395 GB, free: 7.344 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00153/1.406, allocations: 131.8 kB / 1.395 GB, free: 7.215 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.465e-05/1.406, allocations: 63.86 kB / 1.395 GB, free: 7.152 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.173e-05/1.406, allocations: 35.97 kB / 1.395 GB, free: 7.117 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002823/1.409, allocations: 1.777 MB / 1.397 GB, free: 5.336 MB / 1.123 GB Notification: Performance of sort global known variables: time 3.1e-07/1.409, allocations: 0 / 1.397 GB, free: 5.336 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002188/1.411, allocations: 0.7018 MB / 1.398 GB, free: 4.633 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001243/1.413, allocations: 0.6182 MB / 1.398 GB, free: 4.016 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.004024/1.417, allocations: 1.343 MB / 1.4 GB, free: 2.672 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/1.417, allocations: 7.938 kB / 1.4 GB, free: 2.664 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002264/1.419, allocations: 0.675 MB / 1.4 GB, free: 1.988 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005772/1.425, allocations: 1.328 MB / 1.402 GB, free: 0.6797 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006378/1.431, allocations: 3.62 MB / 1.405 GB, free: 12.98 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001313/1.432, allocations: 1.486 MB / 1.407 GB, free: 11.46 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001986/1.434, allocations: 438.2 kB / 1.407 GB, free: 11.04 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004484/1.435, allocations: 167.4 kB / 1.407 GB, free: 10.88 MB / 1.139 GB Notification: Performance of SimCode: time 1.283e-06/1.435, allocations: 0 / 1.407 GB, free: 10.88 MB / 1.139 GB Notification: Performance of Templates: time 0.08596/1.521, allocations: 48.82 MB / 1.455 GB, free: 10.61 MB / 1.186 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches