Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.01008/0.01009, allocations: 101 kB / 15.73 MB, free: 6.039 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.001926/0.001926, allocations: 193.8 kB / 16.68 MB, free: 5.953 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.478/1.478, allocations: 222.9 MB / 240.3 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.636/2.636, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 63.91 kB / 1.054 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1/1.002, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.147/1.149, allocations: 132.3 MB / 1.337 GB, free: 8.867 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.03622/1.185, allocations: 23.21 MB / 1.36 GB, free: 1.605 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006344/1.192, allocations: 131.2 kB / 1.36 GB, free: 1.477 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.005149/1.197, allocations: 1.533 MB / 1.361 GB, free: 15.93 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01361/1.21, allocations: 4.323 MB / 1.365 GB, free: 11.59 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.006412/1.217, allocations: 2.176 MB / 1.368 GB, free: 9.43 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01033/1.227, allocations: 6.562 MB / 1.374 GB, free: 2.859 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004769/1.232, allocations: 2.359 MB / 1.376 GB, free: 452 kB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007653/1.24, allocations: 2.809 MB / 1.379 GB, free: 13.63 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003782/1.243, allocations: 1.89 MB / 1.381 GB, free: 11.73 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001002/1.245, allocations: 248 kB / 1.381 GB, free: 11.49 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005441/1.25, allocations: 1.942 MB / 1.383 GB, free: 9.543 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001135/1.251, allocations: 0.5992 MB / 1.384 GB, free: 8.941 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.003276/1.254, allocations: 1.458 MB / 1.385 GB, free: 7.477 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.00918/1.264, allocations: 4.356 MB / 1.389 GB, free: 3.109 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 9.748e-06/1.264, allocations: 0 / 1.389 GB, free: 3.109 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.425e-06/1.264, allocations: 7.938 kB / 1.389 GB, free: 3.102 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.000189/1.264, allocations: 7.984 kB / 1.389 GB, free: 3.094 MB / 1.107 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.008918/1.273, allocations: 3.176 MB / 1.392 GB, free: 15.83 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/1.273, allocations: 8.031 kB / 1.392 GB, free: 15.82 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004719/1.278, allocations: 0.8402 MB / 1.393 GB, free: 14.98 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006531/1.284, allocations: 2.319 MB / 1.395 GB, free: 12.58 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001967/1.284, allocations: 127 kB / 1.396 GB, free: 12.46 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005578/1.285, allocations: 160 kB / 1.396 GB, free: 12.3 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005166/1.29, allocations: 1.923 MB / 1.398 GB, free: 10.31 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.96e-05/1.29, allocations: 4 kB / 1.398 GB, free: 10.31 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002112/1.29, allocations: 64 kB / 1.398 GB, free: 10.25 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.582e-05/1.29, allocations: 43.98 kB / 1.398 GB, free: 10.2 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00482/1.295, allocations: 1.803 MB / 1.399 GB, free: 8.398 MB / 1.123 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.01513/1.31, allocations: 8.992 MB / 1.408 GB, free: 14.81 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004025/1.314, allocations: 1.193 MB / 1.409 GB, free: 13.6 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001035/1.316, allocations: 462.2 kB / 1.41 GB, free: 13.14 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001399/1.317, allocations: 1.726 MB / 1.412 GB, free: 11.03 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/1.317, allocations: 38.56 kB / 1.412 GB, free: 10.98 MB / 1.139 GB Notification: Performance of pre-optimization done (n=76): time 2.805e-06/1.317, allocations: 4 kB / 1.412 GB, free: 10.98 MB / 1.139 GB Notification: Performance of matching and sorting (n=76): time 0.008336/1.325, allocations: 2.338 MB / 1.414 GB, free: 8.586 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.695e-05/1.325, allocations: 89.05 kB / 1.414 GB, free: 8.48 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004422/1.33, allocations: 2.524 MB / 1.416 GB, free: 5.938 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001797/1.33, allocations: 45.7 kB / 1.416 GB, free: 5.887 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009124/1.331, allocations: 1.041 MB / 1.417 GB, free: 4.836 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.000315/1.331, allocations: 268.2 kB / 1.418 GB, free: 4.57 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004315/1.332, allocations: 254.5 kB / 1.418 GB, free: 4.312 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001328/1.332, allocations: 353.9 kB / 1.418 GB, free: 3.961 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001589/1.333, allocations: 0.5686 MB / 1.419 GB, free: 3.395 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001956/1.335, allocations: 0.9504 MB / 1.42 GB, free: 2.293 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002789/1.338, allocations: 1.252 MB / 1.421 GB, free: 0.9336 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-06/1.338, allocations: 4 kB / 1.421 GB, free: 0.9297 MB / 1.139 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006276/1.345, allocations: 2.025 MB / 1.423 GB, free: 14.89 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/1.345, allocations: 11.94 kB / 1.423 GB, free: 14.88 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/1.345, allocations: 8 kB / 1.423 GB, free: 14.87 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001815/1.346, allocations: 493.1 kB / 1.423 GB, free: 14.38 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/1.348, allocations: 283.5 kB / 1.424 GB, free: 14.11 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002042/1.35, allocations: 1.513 MB / 1.425 GB, free: 12.54 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002817/1.353, allocations: 370 kB / 1.426 GB, free: 12.18 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001535/1.353, allocations: 59.97 kB / 1.426 GB, free: 12.12 MB / 1.154 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.0009357/1.354, allocations: 457.5 kB / 1.426 GB, free: 11.66 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00049/1.354, allocations: 245 kB / 1.426 GB, free: 11.42 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003391/1.358, allocations: 1.517 MB / 1.428 GB, free: 9.887 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-05/1.358, allocations: 8 kB / 1.428 GB, free: 9.879 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/1.358, allocations: 4 kB / 1.428 GB, free: 9.875 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/1.358, allocations: 3.984 kB / 1.428 GB, free: 9.871 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00718/1.365, allocations: 3.612 MB / 1.431 GB, free: 6.148 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/1.365, allocations: 4 kB / 1.431 GB, free: 6.145 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005912/1.365, allocations: 132.1 kB / 1.431 GB, free: 6.016 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001572/1.367, allocations: 497 kB / 1.432 GB, free: 5.523 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-05/1.367, allocations: 19.98 kB / 1.432 GB, free: 5.504 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002372/1.369, allocations: 1.594 MB / 1.434 GB, free: 3.859 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/1.369, allocations: 7.938 kB / 1.434 GB, free: 3.852 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005795/1.375, allocations: 1.939 MB / 1.435 GB, free: 1.844 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001766/1.377, allocations: 493.7 kB / 1.436 GB, free: 1.34 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004857/1.378, allocations: 23.94 kB / 1.436 GB, free: 1.316 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001664/1.379, allocations: 139.8 kB / 1.436 GB, free: 1.18 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/1.379, allocations: 59.86 kB / 1.436 GB, free: 1.121 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.81e-05/1.379, allocations: 39.97 kB / 1.436 GB, free: 1.082 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.003148/1.383, allocations: 1.773 MB / 1.438 GB, free: 15.3 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.8e-07/1.383, allocations: 0 / 1.438 GB, free: 15.3 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002436/1.385, allocations: 0.6944 MB / 1.439 GB, free: 14.61 MB / 1.17 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.001303/1.386, allocations: 0.6094 MB / 1.439 GB, free: 14 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.004043/1.39, allocations: 1.345 MB / 1.44 GB, free: 12.66 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.39, allocations: 0 / 1.44 GB, free: 12.66 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.002195/1.393, allocations: 0.6896 MB / 1.441 GB, free: 11.96 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006355/1.399, allocations: 1.332 MB / 1.442 GB, free: 10.66 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006925/1.406, allocations: 3.554 MB / 1.446 GB, free: 7.031 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001136/1.407, allocations: 1.493 MB / 1.447 GB, free: 5.504 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.002101/1.409, allocations: 430.3 kB / 1.448 GB, free: 5.082 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004457/1.41, allocations: 171.4 kB / 1.448 GB, free: 4.914 MB / 1.17 GB Notification: Performance of SimCode: time 1.343e-06/1.41, allocations: 0 / 1.448 GB, free: 4.914 MB / 1.17 GB Notification: Performance of Templates: time 0.08125/1.491, allocations: 48.79 MB / 1.496 GB, free: 4.738 MB / 1.217 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches