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.001611/0.001611, allocations: 102.2 kB / 16.4 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.001627/0.001627, allocations: 192.2 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.645/2.645, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 67.89 kB / 1.055 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.815/0.8165, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1401/0.9567, allocations: 132.3 MB / 1.338 GB, free: 8.891 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.03556/0.9923, allocations: 23.2 MB / 1.36 GB, free: 1.633 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005645/0.998, allocations: 123.2 kB / 1.36 GB, free: 1.512 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.005045/1.003, allocations: 1.498 MB / 1.362 GB, free: 4 kB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01281/1.016, allocations: 4.108 MB / 1.366 GB, free: 11.88 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.006748/1.023, allocations: 2.171 MB / 1.368 GB, free: 9.727 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01107/1.034, allocations: 6.545 MB / 1.374 GB, free: 3.164 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005213/1.039, allocations: 2.359 MB / 1.377 GB, free: 0.7461 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007979/1.047, allocations: 2.803 MB / 1.379 GB, free: 13.94 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0043/1.051, allocations: 1.886 MB / 1.381 GB, free: 12.05 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001111/1.053, allocations: 251.9 kB / 1.381 GB, free: 11.8 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005863/1.058, allocations: 1.942 MB / 1.383 GB, free: 9.855 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.00134/1.06, allocations: 0.5992 MB / 1.384 GB, free: 9.254 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.003425/1.063, allocations: 1.458 MB / 1.385 GB, free: 7.789 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.009104/1.072, allocations: 4.356 MB / 1.39 GB, free: 3.422 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/1.072, allocations: 0 / 1.39 GB, free: 3.422 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.524e-06/1.072, allocations: 0 / 1.39 GB, free: 3.422 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0001655/1.073, allocations: 0 / 1.39 GB, free: 3.422 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.008175/1.081, allocations: 3.184 MB / 1.393 GB, free: 156 kB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/1.081, allocations: 8.031 kB / 1.393 GB, free: 148 kB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005092/1.086, allocations: 0.8402 MB / 1.394 GB, free: 15.3 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006045/1.092, allocations: 2.319 MB / 1.396 GB, free: 12.91 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001709/1.092, allocations: 131 kB / 1.396 GB, free: 12.78 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004526/1.093, allocations: 156 kB / 1.396 GB, free: 12.62 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005202/1.098, allocations: 1.923 MB / 1.398 GB, free: 10.64 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.033e-05/1.098, allocations: 7.875 kB / 1.398 GB, free: 10.63 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002604/1.098, allocations: 64 kB / 1.398 GB, free: 10.57 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.548e-05/1.098, allocations: 36 kB / 1.398 GB, free: 10.53 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005341/1.104, allocations: 1.803 MB / 1.4 GB, free: 8.727 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.01616/1.12, allocations: 8.992 MB / 1.409 GB, free: 15.13 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004677/1.125, allocations: 1.2 MB / 1.41 GB, free: 13.92 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001257/1.126, allocations: 462.2 kB / 1.41 GB, free: 13.46 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001287/1.127, allocations: 1.722 MB / 1.412 GB, free: 11.35 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.371e-05/1.127, allocations: 50.48 kB / 1.412 GB, free: 11.29 MB / 1.139 GB Notification: Performance of pre-optimization done (n=76): time 3.145e-06/1.127, allocations: 0 / 1.412 GB, free: 11.29 MB / 1.139 GB Notification: Performance of matching and sorting (n=76): time 0.009517/1.137, allocations: 2.342 MB / 1.414 GB, free: 8.898 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/1.137, allocations: 93.05 kB / 1.414 GB, free: 8.789 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004874/1.142, allocations: 2.52 MB / 1.417 GB, free: 6.25 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0002305/1.142, allocations: 41.7 kB / 1.417 GB, free: 6.203 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001003/1.143, allocations: 1.049 MB / 1.418 GB, free: 5.145 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004109/1.143, allocations: 268.2 kB / 1.418 GB, free: 4.879 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005811/1.144, allocations: 254.6 kB / 1.418 GB, free: 4.621 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001387/1.144, allocations: 345.9 kB / 1.419 GB, free: 4.277 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001828/1.146, allocations: 0.5725 MB / 1.419 GB, free: 3.707 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002171/1.148, allocations: 0.9504 MB / 1.42 GB, free: 2.605 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003076/1.151, allocations: 1.252 MB / 1.421 GB, free: 1.246 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/1.151, allocations: 0 / 1.421 GB, free: 1.246 MB / 1.139 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007067/1.158, allocations: 2.024 MB / 1.423 GB, free: 15.2 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.983e-05/1.158, allocations: 8 kB / 1.423 GB, free: 15.2 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/1.159, allocations: 8 kB / 1.423 GB, free: 15.19 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001957/1.16, allocations: 0.4899 MB / 1.424 GB, free: 14.69 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/1.162, allocations: 275.5 kB / 1.424 GB, free: 14.42 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002246/1.164, allocations: 1.516 MB / 1.426 GB, free: 12.86 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002968/1.167, allocations: 369.9 kB / 1.426 GB, free: 12.5 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002065/1.167, allocations: 59.97 kB / 1.426 GB, free: 12.44 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.0009789/1.168, allocations: 469.5 kB / 1.427 GB, free: 11.97 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000741/1.169, allocations: 245 kB / 1.427 GB, free: 11.73 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003919/1.173, allocations: 1.497 MB / 1.428 GB, free: 10.21 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.666e-05/1.173, allocations: 15.98 kB / 1.428 GB, free: 10.2 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/1.173, allocations: 0 / 1.428 GB, free: 10.2 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/1.173, allocations: 7.984 kB / 1.428 GB, free: 10.19 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008504/1.182, allocations: 3.608 MB / 1.432 GB, free: 6.469 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.749e-05/1.182, allocations: 8.094 kB / 1.432 GB, free: 6.461 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006549/1.182, allocations: 132.1 kB / 1.432 GB, free: 6.332 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00176/1.184, allocations: 0.4909 MB / 1.432 GB, free: 5.836 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00011/1.184, allocations: 31.91 kB / 1.432 GB, free: 5.805 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002791/1.187, allocations: 1.581 MB / 1.434 GB, free: 4.172 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/1.187, allocations: 7.938 kB / 1.434 GB, free: 4.164 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006505/1.194, allocations: 1.943 MB / 1.436 GB, free: 2.152 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001383/1.195, allocations: 485.5 kB / 1.436 GB, free: 1.656 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004766/1.195, allocations: 23.94 kB / 1.436 GB, free: 1.633 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001855/1.197, allocations: 131.8 kB / 1.436 GB, free: 1.504 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/1.197, allocations: 63.86 kB / 1.437 GB, free: 1.441 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.986e-05/1.198, allocations: 39.97 kB / 1.437 GB, free: 1.402 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.003241/1.201, allocations: 1.769 MB / 1.438 GB, free: 15.63 MB / 1.17 GB Notification: Performance of sort global known variables: time 4.31e-07/1.201, allocations: 0 / 1.438 GB, free: 15.63 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002521/1.203, allocations: 0.6983 MB / 1.439 GB, free: 14.93 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.001374/1.205, allocations: 0.6098 MB / 1.44 GB, free: 14.32 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.004382/1.209, allocations: 1.353 MB / 1.441 GB, free: 12.97 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/1.209, allocations: 0 / 1.441 GB, free: 12.97 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.002543/1.212, allocations: 0.6818 MB / 1.442 GB, free: 12.29 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006804/1.219, allocations: 1.346 MB / 1.443 GB, free: 10.96 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00703/1.226, allocations: 3.588 MB / 1.446 GB, free: 7.297 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/1.227, allocations: 1.474 MB / 1.448 GB, free: 5.789 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000743/1.227, allocations: 187.4 kB / 1.448 GB, free: 5.605 MB / 1.17 GB Notification: Performance of SimCode: time 6.11e-07/1.227, allocations: 0 / 1.448 GB, free: 5.605 MB / 1.17 GB Notification: Performance of Templates: time 0.08033/1.308, allocations: 62.76 MB / 1.509 GB, free: 7.18 MB / 1.232 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches