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.001195/0.001195, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001184/0.001184, allocations: 187 kB / 17.34 MB, free: 5.719 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.09 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.488/2.488, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 67.89 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9771/0.9785, allocations: 151.6 MB / 1.167 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1482/1.127, allocations: 132.3 MB / 1.296 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.03577/1.163, allocations: 23.22 MB / 1.319 GB, free: 7.777 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005976/1.169, allocations: 123.2 kB / 1.319 GB, free: 7.656 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.005241/1.174, allocations: 1.537 MB / 1.321 GB, free: 6.109 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01455/1.189, allocations: 4.323 MB / 1.325 GB, free: 1.77 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.006749/1.195, allocations: 2.178 MB / 1.327 GB, free: 15.61 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01104/1.206, allocations: 6.549 MB / 1.334 GB, free: 9.043 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004808/1.211, allocations: 2.363 MB / 1.336 GB, free: 6.625 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008116/1.219, allocations: 2.815 MB / 1.339 GB, free: 3.809 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004385/1.224, allocations: 1.891 MB / 1.34 GB, free: 1.91 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0009926/1.225, allocations: 248 kB / 1.341 GB, free: 1.668 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00561/1.23, allocations: 1.934 MB / 1.343 GB, free: 15.73 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001091/1.231, allocations: 0.6031 MB / 1.343 GB, free: 15.12 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003071/1.235, allocations: 1.454 MB / 1.345 GB, free: 13.66 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.009364/1.244, allocations: 4.356 MB / 1.349 GB, free: 9.297 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/1.244, allocations: 4 kB / 1.349 GB, free: 9.293 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.432e-06/1.244, allocations: 0 / 1.349 GB, free: 9.293 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001599/1.244, allocations: 0 / 1.349 GB, free: 9.293 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.008706/1.253, allocations: 3.188 MB / 1.352 GB, free: 6.02 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/1.253, allocations: 8.922 kB / 1.352 GB, free: 6.012 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004822/1.258, allocations: 0.8402 MB / 1.353 GB, free: 5.168 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006026/1.264, allocations: 2.311 MB / 1.355 GB, free: 2.781 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001499/1.264, allocations: 135 kB / 1.355 GB, free: 2.648 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004573/1.264, allocations: 160 kB / 1.355 GB, free: 2.492 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004935/1.269, allocations: 1.923 MB / 1.357 GB, free: 0.5039 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.88e-05/1.269, allocations: 0 / 1.357 GB, free: 0.5039 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002458/1.27, allocations: 68 kB / 1.357 GB, free: 448 kB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.581e-05/1.27, allocations: 36 kB / 1.357 GB, free: 412 kB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005013/1.275, allocations: 1.803 MB / 1.359 GB, free: 14.59 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.01576/1.291, allocations: 9 MB / 1.368 GB, free: 4.992 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004362/1.295, allocations: 1.194 MB / 1.369 GB, free: 3.781 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001086/1.296, allocations: 473.3 kB / 1.369 GB, free: 3.312 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001302/1.297, allocations: 1.719 MB / 1.371 GB, free: 1.207 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/1.297, allocations: 38.56 kB / 1.371 GB, free: 1.16 MB / 1.092 GB Notification: Performance of pre-optimization done (n=76): time 3.847e-06/1.297, allocations: 4 kB / 1.371 GB, free: 1.156 MB / 1.092 GB Notification: Performance of matching and sorting (n=76): time 0.008466/1.306, allocations: 2.337 MB / 1.373 GB, free: 14.77 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/1.306, allocations: 89.05 kB / 1.374 GB, free: 14.66 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005375/1.311, allocations: 2.524 MB / 1.376 GB, free: 12.12 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001594/1.312, allocations: 41.7 kB / 1.376 GB, free: 12.07 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001064/1.313, allocations: 1.045 MB / 1.377 GB, free: 11.02 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003301/1.313, allocations: 272.2 kB / 1.377 GB, free: 10.75 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005526/1.314, allocations: 250.6 kB / 1.378 GB, free: 10.49 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001279/1.314, allocations: 349.9 kB / 1.378 GB, free: 10.14 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001739/1.315, allocations: 0.5764 MB / 1.378 GB, free: 9.57 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00206/1.318, allocations: 0.9504 MB / 1.379 GB, free: 8.469 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002942/1.32, allocations: 1.248 MB / 1.381 GB, free: 7.117 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-05/1.32, allocations: 0 / 1.381 GB, free: 7.117 MB / 1.107 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006632/1.327, allocations: 2.032 MB / 1.383 GB, free: 5.066 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/1.327, allocations: 11.98 kB / 1.383 GB, free: 5.055 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.617e-05/1.327, allocations: 8 kB / 1.383 GB, free: 5.047 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001906/1.329, allocations: 496 kB / 1.383 GB, free: 4.559 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/1.33, allocations: 283.5 kB / 1.383 GB, free: 4.281 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002146/1.333, allocations: 1.514 MB / 1.385 GB, free: 2.715 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003031/1.336, allocations: 370 kB / 1.385 GB, free: 2.352 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002135/1.336, allocations: 59.97 kB / 1.385 GB, free: 2.293 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.001124/1.337, allocations: 453.9 kB / 1.386 GB, free: 1.84 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008699/1.338, allocations: 245 kB / 1.386 GB, free: 1.598 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003957/1.342, allocations: 1.509 MB / 1.387 GB, free: 68 kB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.156e-05/1.342, allocations: 8 kB / 1.387 GB, free: 60 kB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/1.342, allocations: 0 / 1.387 GB, free: 60 kB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/1.342, allocations: 7.984 kB / 1.387 GB, free: 52 kB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008681/1.351, allocations: 3.622 MB / 1.391 GB, free: 12.32 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.591e-05/1.351, allocations: 4 kB / 1.391 GB, free: 12.31 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006361/1.351, allocations: 132.1 kB / 1.391 GB, free: 12.18 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00178/1.353, allocations: 499 kB / 1.392 GB, free: 11.69 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.259e-05/1.353, allocations: 23.98 kB / 1.392 GB, free: 11.67 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00258/1.356, allocations: 1.588 MB / 1.393 GB, free: 10.03 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/1.356, allocations: 7.938 kB / 1.393 GB, free: 10.02 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006026/1.362, allocations: 1.931 MB / 1.395 GB, free: 8.027 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001361/1.363, allocations: 493.5 kB / 1.395 GB, free: 7.523 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006937/1.364, allocations: 19.94 kB / 1.395 GB, free: 7.504 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002099/1.366, allocations: 139.8 kB / 1.396 GB, free: 7.367 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/1.366, allocations: 59.81 kB / 1.396 GB, free: 7.309 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001119/1.366, allocations: 43.95 kB / 1.396 GB, free: 7.266 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.003789/1.37, allocations: 1.769 MB / 1.397 GB, free: 5.492 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.21e-07/1.37, allocations: 0 / 1.397 GB, free: 5.492 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002604/1.373, allocations: 0.6905 MB / 1.398 GB, free: 4.801 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.00139/1.374, allocations: 0.626 MB / 1.399 GB, free: 4.176 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.004192/1.378, allocations: 1.347 MB / 1.4 GB, free: 2.828 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/1.378, allocations: 0 / 1.4 GB, free: 2.828 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002395/1.381, allocations: 0.6751 MB / 1.401 GB, free: 2.152 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006991/1.388, allocations: 1.335 MB / 1.402 GB, free: 0.8398 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007841/1.396, allocations: 3.583 MB / 1.405 GB, free: 13.18 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001492/1.397, allocations: 1.486 MB / 1.407 GB, free: 11.66 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000863/1.398, allocations: 183.4 kB / 1.407 GB, free: 11.48 MB / 1.139 GB Notification: Performance of SimCode: time 7.31e-07/1.398, allocations: 3.938 kB / 1.407 GB, free: 11.48 MB / 1.139 GB Notification: Performance of Templates: time 0.08523/1.483, allocations: 62.75 MB / 1.468 GB, free: 12.99 MB / 1.201 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches