Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001566/0.001566, allocations: 105.9 kB / 15.99 MB, free: 6.352 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.001517/0.001517, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.361/1.361, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.589/2.589, allocations: 469.8 MB / 0.7427 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 68.67 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3285, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.6423/0.9709, allocations: 131.1 MB / 1.192 GB, free: 14.05 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.03625/1.007, allocations: 23.07 MB / 1.215 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006034/1.013, allocations: 114.9 kB / 1.215 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.005055/1.018, allocations: 1.284 MB / 1.216 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01331/1.032, allocations: 3.823 MB / 1.22 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.006428/1.038, allocations: 1.979 MB / 1.222 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01146/1.05, allocations: 6.59 MB / 1.228 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004555/1.054, allocations: 2.349 MB / 1.23 GB, free: 15 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008264/1.063, allocations: 2.771 MB / 1.233 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004059/1.067, allocations: 1.929 MB / 1.235 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0007279/1.067, allocations: 244 kB / 1.235 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005376/1.073, allocations: 1.965 MB / 1.237 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0008007/1.074, allocations: 0.6031 MB / 1.238 GB, free: 7.473 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002661/1.076, allocations: 1.47 MB / 1.239 GB, free: 5.996 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.005398/1.082, allocations: 3.372 MB / 1.242 GB, free: 2.617 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.159e-05/1.082, allocations: 3.984 kB / 1.242 GB, free: 2.613 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.703e-06/1.082, allocations: 3.938 kB / 1.242 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.463e-05/1.082, allocations: 0 / 1.242 GB, free: 2.609 MB / 0.9512 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.006142/1.088, allocations: 3.172 MB / 1.246 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/1.088, allocations: 12.03 kB / 1.246 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004438/1.092, allocations: 0.8366 MB / 1.246 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004704/1.097, allocations: 2.264 MB / 1.249 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009859/1.098, allocations: 298.8 kB / 1.249 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003293/1.098, allocations: 160 kB / 1.249 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004346/1.103, allocations: 1.938 MB / 1.251 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.291e-05/1.103, allocations: 3.984 kB / 1.251 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001555/1.103, allocations: 60 kB / 1.251 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.553e-05/1.103, allocations: 40 kB / 1.251 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004753/1.108, allocations: 1.831 MB / 1.253 GB, free: 7.773 MB / 0.9669 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.01521/1.123, allocations: 9.029 MB / 1.262 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004311/1.127, allocations: 1.203 MB / 1.263 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0011/1.129, allocations: 461.4 kB / 1.263 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001392/1.13, allocations: 1.719 MB / 1.265 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/1.13, allocations: 46.5 kB / 1.265 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=76): time 2.885e-06/1.13, allocations: 0 / 1.265 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of matching and sorting (n=76): time 0.008843/1.139, allocations: 2.346 MB / 1.267 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/1.139, allocations: 81.11 kB / 1.267 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004262/1.143, allocations: 2.513 MB / 1.27 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001585/1.143, allocations: 45.7 kB / 1.27 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009982/1.144, allocations: 1.057 MB / 1.271 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003106/1.145, allocations: 268.2 kB / 1.271 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004587/1.145, allocations: 254.6 kB / 1.271 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001656/1.145, allocations: 349.9 kB / 1.272 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001714/1.147, allocations: 0.5881 MB / 1.272 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0021/1.149, allocations: 0.9699 MB / 1.273 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002978/1.152, allocations: 1.256 MB / 1.274 GB, free: 228 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-05/1.152, allocations: 7.938 kB / 1.274 GB, free: 220 kB / 0.9825 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006591/1.159, allocations: 2.051 MB / 1.276 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/1.159, allocations: 8 kB / 1.276 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/1.159, allocations: 8 kB / 1.277 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001814/1.161, allocations: 496 kB / 1.277 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/1.162, allocations: 287.6 kB / 1.277 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00222/1.164, allocations: 1.518 MB / 1.279 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003009/1.167, allocations: 441.9 kB / 1.279 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000144/1.167, allocations: 55.97 kB / 1.279 GB, free: 11.3 MB / 0.9981 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.000914/1.168, allocations: 457.5 kB / 1.28 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004584/1.169, allocations: 249 kB / 1.28 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003608/1.172, allocations: 1.505 MB / 1.281 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.467e-05/1.172, allocations: 16 kB / 1.281 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/1.172, allocations: 0 / 1.281 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/1.172, allocations: 3.984 kB / 1.281 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007537/1.18, allocations: 3.604 MB / 1.285 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/1.18, allocations: 7.938 kB / 1.285 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006069/1.181, allocations: 128.2 kB / 1.285 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001651/1.182, allocations: 495.2 kB / 1.285 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.395e-05/1.182, allocations: 23.98 kB / 1.286 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00257/1.185, allocations: 1.592 MB / 1.287 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/1.185, allocations: 8 kB / 1.287 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006021/1.191, allocations: 1.931 MB / 1.289 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001166/1.192, allocations: 497.4 kB / 1.289 GB, free: 0.543 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003495/1.193, allocations: 27.92 kB / 1.289 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001731/1.194, allocations: 167.7 kB / 1.29 GB, free: 360 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.357e-05/1.194, allocations: 51.92 kB / 1.29 GB, free: 308 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.731e-05/1.194, allocations: 51.84 kB / 1.29 GB, free: 256 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003116/1.198, allocations: 1.77 MB / 1.291 GB, free: 14.47 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.71e-07/1.198, allocations: 0 / 1.291 GB, free: 14.47 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002108/1.2, allocations: 0.6789 MB / 1.292 GB, free: 13.79 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: 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.001237/1.201, allocations: 0.599 MB / 1.293 GB, free: 13.2 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004344/1.205, allocations: 1.404 MB / 1.294 GB, free: 11.79 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/1.205, allocations: 4 kB / 1.294 GB, free: 11.79 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00236/1.208, allocations: 0.6669 MB / 1.295 GB, free: 11.12 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006357/1.214, allocations: 1.343 MB / 1.296 GB, free: 9.82 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007457/1.222, allocations: 4.342 MB / 1.3 GB, free: 5.402 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001223/1.223, allocations: 1.482 MB / 1.302 GB, free: 3.891 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007108/1.224, allocations: 183.4 kB / 1.302 GB, free: 3.711 MB / 1.014 GB Notification: Performance of SimCode: time 7.72e-07/1.224, allocations: 3.938 kB / 1.302 GB, free: 3.707 MB / 1.014 GB Notification: Performance of Templates: time 0.08398/1.308, allocations: 62.2 MB / 1.363 GB, free: 5.844 MB / 1.076 GB make -j1 -f Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches