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.008454/0.008454, allocations: 101.5 kB / 15.73 MB, free: 5.965 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.001448/0.001448, allocations: 188.6 kB / 16.67 MB, free: 5.887 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.609/2.609, allocations: 469.8 MB / 0.7425 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 67.89 kB / 1.065 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015/1.016, allocations: 159.1 MB / 1.221 GB, free: 2.137 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1327/1.149, allocations: 132.5 MB / 1.35 GB, free: 13.18 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.03929/1.188, allocations: 23.24 MB / 1.373 GB, free: 5.875 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006809/1.195, allocations: 123.2 kB / 1.373 GB, free: 5.754 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.005427/1.2, allocations: 1.553 MB / 1.374 GB, free: 4.191 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01455/1.215, allocations: 4.328 MB / 1.379 GB, free: 15.85 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00637/1.221, allocations: 2.164 MB / 1.381 GB, free: 13.7 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01026/1.232, allocations: 6.539 MB / 1.387 GB, free: 7.145 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004474/1.236, allocations: 1.902 MB / 1.389 GB, free: 5.18 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007744/1.244, allocations: 2.818 MB / 1.392 GB, free: 2.359 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004169/1.248, allocations: 1.888 MB / 1.394 GB, free: 476 kB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001093/1.249, allocations: 248 kB / 1.394 GB, free: 228 kB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005748/1.255, allocations: 1.934 MB / 1.396 GB, free: 14.29 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001199/1.256, allocations: 0.6223 MB / 1.396 GB, free: 13.66 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.003419/1.259, allocations: 1.466 MB / 1.398 GB, free: 12.19 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.00999/1.269, allocations: 4.38 MB / 1.402 GB, free: 7.797 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/1.269, allocations: 0 / 1.402 GB, free: 7.797 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.693e-06/1.269, allocations: 0 / 1.402 GB, free: 7.797 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001595/1.27, allocations: 3.938 kB / 1.402 GB, free: 7.793 MB / 1.123 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.008776/1.278, allocations: 3.274 MB / 1.405 GB, free: 4.43 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/1.278, allocations: 8.031 kB / 1.405 GB, free: 4.422 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004655/1.283, allocations: 0.8574 MB / 1.406 GB, free: 3.562 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005442/1.289, allocations: 2.325 MB / 1.408 GB, free: 1.164 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/1.289, allocations: 131 kB / 1.408 GB, free: 1.035 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002332/1.289, allocations: 160 kB / 1.409 GB, free: 0.8789 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003866/1.293, allocations: 1.923 MB / 1.41 GB, free: 14.89 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.282e-05/1.293, allocations: 4 kB / 1.41 GB, free: 14.88 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001503/1.293, allocations: 67.94 kB / 1.411 GB, free: 14.82 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.361e-05/1.293, allocations: 36 kB / 1.411 GB, free: 14.78 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004293/1.297, allocations: 1.807 MB / 1.412 GB, free: 12.97 MB / 1.139 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.01551/1.313, allocations: 9.015 MB / 1.421 GB, free: 3.363 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004368/1.317, allocations: 1.151 MB / 1.422 GB, free: 2.195 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001216/1.318, allocations: 433.4 kB / 1.423 GB, free: 1.766 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001315/1.32, allocations: 1.719 MB / 1.424 GB, free: 15.66 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/1.32, allocations: 46.56 kB / 1.424 GB, free: 15.61 MB / 1.154 GB Notification: Performance of pre-optimization done (n=76): time 3.586e-06/1.32, allocations: 0 / 1.424 GB, free: 15.61 MB / 1.154 GB Notification: Performance of matching and sorting (n=76): time 0.009366/1.329, allocations: 2.34 MB / 1.427 GB, free: 13.21 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/1.329, allocations: 85.11 kB / 1.427 GB, free: 13.11 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005359/1.334, allocations: 2.528 MB / 1.429 GB, free: 10.57 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001572/1.335, allocations: 49.64 kB / 1.429 GB, free: 10.51 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001199/1.336, allocations: 1.058 MB / 1.43 GB, free: 9.445 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003338/1.336, allocations: 289.6 kB / 1.431 GB, free: 9.16 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005133/1.337, allocations: 258.7 kB / 1.431 GB, free: 8.898 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001353/1.337, allocations: 345.9 kB / 1.431 GB, free: 8.555 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001703/1.338, allocations: 0.5686 MB / 1.432 GB, free: 7.988 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002237/1.341, allocations: 0.9543 MB / 1.433 GB, free: 6.879 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003148/1.344, allocations: 1.244 MB / 1.434 GB, free: 5.527 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.294e-05/1.344, allocations: 8 kB / 1.434 GB, free: 5.52 MB / 1.154 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006816/1.351, allocations: 2.022 MB / 1.436 GB, free: 3.48 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/1.351, allocations: 8 kB / 1.436 GB, free: 3.473 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/1.351, allocations: 8 kB / 1.436 GB, free: 3.465 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002081/1.353, allocations: 0.4897 MB / 1.436 GB, free: 2.969 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/1.354, allocations: 279.6 kB / 1.437 GB, free: 2.695 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002339/1.356, allocations: 1.521 MB / 1.438 GB, free: 1.125 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003029/1.359, allocations: 370.5 kB / 1.438 GB, free: 0.7617 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00017/1.36, allocations: 63.97 kB / 1.438 GB, free: 0.6992 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.001073/1.361, allocations: 458.6 kB / 1.439 GB, free: 248 kB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000888/1.362, allocations: 270.3 kB / 1.439 GB, free: 15.97 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004304/1.366, allocations: 1.491 MB / 1.441 GB, free: 14.48 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.286e-05/1.366, allocations: 8 kB / 1.441 GB, free: 14.47 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/1.366, allocations: 0 / 1.441 GB, free: 14.47 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.437e-05/1.366, allocations: 11.98 kB / 1.441 GB, free: 14.46 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008552/1.375, allocations: 3.612 MB / 1.444 GB, free: 10.73 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/1.375, allocations: 3.984 kB / 1.444 GB, free: 10.73 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006251/1.375, allocations: 132.2 kB / 1.444 GB, free: 10.6 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001732/1.377, allocations: 485.1 kB / 1.445 GB, free: 10.12 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-05/1.377, allocations: 31.98 kB / 1.445 GB, free: 10.09 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002714/1.38, allocations: 1.587 MB / 1.446 GB, free: 8.453 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/1.38, allocations: 4 kB / 1.446 GB, free: 8.449 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006138/1.386, allocations: 1.956 MB / 1.448 GB, free: 6.426 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001255/1.387, allocations: 499 kB / 1.449 GB, free: 5.918 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000623/1.388, allocations: 32.05 kB / 1.449 GB, free: 5.887 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002038/1.39, allocations: 131.8 kB / 1.449 GB, free: 5.758 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/1.39, allocations: 59.86 kB / 1.449 GB, free: 5.699 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.931e-05/1.39, allocations: 39.91 kB / 1.449 GB, free: 5.66 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.003578/1.394, allocations: 1.777 MB / 1.451 GB, free: 3.879 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.01e-07/1.394, allocations: 0 / 1.451 GB, free: 3.879 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002361/1.396, allocations: 0.6979 MB / 1.451 GB, free: 3.18 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.001343/1.397, allocations: 0.6182 MB / 1.452 GB, free: 2.562 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.004234/1.401, allocations: 1.303 MB / 1.453 GB, free: 1.262 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.401, allocations: 4 kB / 1.453 GB, free: 1.258 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.002373/1.404, allocations: 0.6434 MB / 1.454 GB, free: 0.6172 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006206/1.41, allocations: 1.317 MB / 1.455 GB, free: 15.32 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007548/1.418, allocations: 3.627 MB / 1.459 GB, free: 11.61 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001475/1.419, allocations: 1.493 MB / 1.46 GB, free: 10.09 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.002179/1.421, allocations: 433.1 kB / 1.461 GB, free: 9.668 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005721/1.422, allocations: 171.3 kB / 1.461 GB, free: 9.5 MB / 1.186 GB Notification: Performance of SimCode: time 2.003e-06/1.422, allocations: 0 / 1.461 GB, free: 9.5 MB / 1.186 GB Notification: Performance of Templates: time 0.1065/1.528, allocations: 49.04 MB / 1.509 GB, free: 9.137 MB / 1.232 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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches