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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 208.1 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.671/1.671, allocations: 230.6 MB / 256 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.744/3.744, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002228/0.002228, allocations: 63.06 kB / 1.186 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5095/0.5117, allocations: 181.8 MB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1656/0.6773, allocations: 121.9 MB / 1.483 GB, free: 3.32 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.04384/0.7212, allocations: 21.62 MB / 1.504 GB, free: 13.66 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007373/0.7285, allocations: 170.5 kB / 1.504 GB, free: 13.49 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.006387/0.7349, allocations: 1.494 MB / 1.506 GB, free: 11.99 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.01817/0.7531, allocations: 4.338 MB / 1.51 GB, free: 7.633 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.008148/0.7612, allocations: 2.196 MB / 1.512 GB, free: 5.453 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.01454/0.7758, allocations: 6.568 MB / 1.518 GB, free: 14.86 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005745/0.7815, allocations: 1.817 MB / 1.52 GB, free: 12.98 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01111/0.7926, allocations: 3.175 MB / 1.523 GB, free: 9.809 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00569/0.7983, allocations: 1.827 MB / 1.525 GB, free: 7.973 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.001447/0.7998, allocations: 248 kB / 1.525 GB, free: 7.73 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007124/0.8069, allocations: 1.583 MB / 1.527 GB, free: 6.145 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.001634/0.8085, allocations: 0.6107 MB / 1.527 GB, free: 5.531 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.004004/0.8125, allocations: 1.166 MB / 1.529 GB, free: 4.359 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.0124/0.8249, allocations: 4.407 MB / 1.533 GB, free: 15.94 MB / 1.233 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.8249, allocations: 0 / 1.533 GB, free: 15.94 MB / 1.233 GB Notification: Performance of FrontEnd: time 2.835e-06/0.8249, allocations: 0 / 1.533 GB, free: 15.94 MB / 1.233 GB Notification: Performance of Transformations before backend: time 0.0001713/0.8251, allocations: 0 / 1.533 GB, free: 15.94 MB / 1.233 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.0102/0.8353, allocations: 3.208 MB / 1.536 GB, free: 12.66 MB / 1.233 GB Notification: Performance of prepare preOptimizeDAE: time 5.871e-05/0.8354, allocations: 12.03 kB / 1.536 GB, free: 12.65 MB / 1.233 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004958/0.8403, allocations: 0.853 MB / 1.537 GB, free: 11.79 MB / 1.233 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00672/0.8471, allocations: 2.288 MB / 1.539 GB, free: 9.418 MB / 1.233 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002115/0.8473, allocations: 123 kB / 1.539 GB, free: 9.297 MB / 1.233 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005066/0.8478, allocations: 164 kB / 1.539 GB, free: 9.137 MB / 1.233 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005533/0.8533, allocations: 1.994 MB / 1.541 GB, free: 7.059 MB / 1.233 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.356e-05/0.8533, allocations: 3.938 kB / 1.541 GB, free: 7.055 MB / 1.233 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002211/0.8536, allocations: 64 kB / 1.541 GB, free: 6.992 MB / 1.233 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.304e-05/0.8536, allocations: 39.94 kB / 1.541 GB, free: 6.953 MB / 1.233 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005384/0.859, allocations: 1.803 MB / 1.543 GB, free: 5.148 MB / 1.233 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.01474/0.8737, allocations: 6.15 MB / 1.549 GB, free: 14.86 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00437/0.8781, allocations: 1.147 MB / 1.55 GB, free: 13.69 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001174/0.8793, allocations: 429.4 kB / 1.551 GB, free: 13.27 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005506/0.8798, allocations: 147.9 kB / 1.551 GB, free: 13.12 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.079e-05/0.8799, allocations: 42.56 kB / 1.551 GB, free: 13.07 MB / 1.248 GB Notification: Performance of pre-optimization done (n=76): time 4.789e-06/0.8799, allocations: 8 kB / 1.551 GB, free: 13.06 MB / 1.248 GB Notification: Performance of matching and sorting (n=76): time 0.009024/0.8889, allocations: 2.135 MB / 1.553 GB, free: 10.91 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.397e-05/0.889, allocations: 85.11 kB / 1.553 GB, free: 10.81 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004772/0.8938, allocations: 2.012 MB / 1.555 GB, free: 8.766 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001849/0.8939, allocations: 45.7 kB / 1.555 GB, free: 8.715 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.001553/0.8955, allocations: 1.09 MB / 1.556 GB, free: 7.613 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005619/0.8961, allocations: 281.6 kB / 1.556 GB, free: 7.336 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008489/0.8969, allocations: 254.7 kB / 1.557 GB, free: 7.082 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0002699/0.8972, allocations: 349.9 kB / 1.557 GB, free: 6.734 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00201/0.8992, allocations: 0.5763 MB / 1.558 GB, free: 6.156 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003154/0.9023, allocations: 1.615 MB / 1.559 GB, free: 4.234 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003528/0.9059, allocations: 1.256 MB / 1.56 GB, free: 2.871 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.998e-05/0.9059, allocations: 4 kB / 1.56 GB, free: 2.867 MB / 1.248 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007955/0.9139, allocations: 1.979 MB / 1.562 GB, free: 0.8711 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/0.9139, allocations: 11.98 kB / 1.562 GB, free: 0.8594 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.389e-05/0.9139, allocations: 8 kB / 1.562 GB, free: 0.8516 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00205/0.916, allocations: 489.8 kB / 1.563 GB, free: 376 kB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/0.9173, allocations: 279.5 kB / 1.563 GB, free: 96 kB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00264/0.92, allocations: 1.524 MB / 1.565 GB, free: 14.52 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002658/0.9226, allocations: 287.2 kB / 1.565 GB, free: 14.24 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002037/0.9228, allocations: 63.95 kB / 1.565 GB, free: 14.18 MB / 1.264 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.001304/0.9242, allocations: 461.5 kB / 1.565 GB, free: 13.71 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008687/0.925, allocations: 210.6 kB / 1.565 GB, free: 13.51 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004336/0.9294, allocations: 1.481 MB / 1.567 GB, free: 12.02 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.583e-05/0.9294, allocations: 15.98 kB / 1.567 GB, free: 12 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.9294, allocations: 0 / 1.567 GB, free: 12 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.9294, allocations: 3.984 kB / 1.567 GB, free: 12 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009711/0.9391, allocations: 3.168 MB / 1.57 GB, free: 8.742 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-05/0.9391, allocations: 12.03 kB / 1.57 GB, free: 8.73 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006578/0.9398, allocations: 127.8 kB / 1.57 GB, free: 8.605 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001979/0.9418, allocations: 494.7 kB / 1.571 GB, free: 8.117 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.551e-05/0.9419, allocations: 31.97 kB / 1.571 GB, free: 8.086 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003326/0.9452, allocations: 1.581 MB / 1.572 GB, free: 6.453 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/0.9452, allocations: 11.95 kB / 1.572 GB, free: 6.441 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007261/0.9525, allocations: 1.899 MB / 1.574 GB, free: 4.48 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001686/0.9542, allocations: 364.2 kB / 1.574 GB, free: 4.121 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006908/0.9549, allocations: 23.92 kB / 1.574 GB, free: 4.098 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001615/0.9565, allocations: 123.8 kB / 1.575 GB, free: 3.977 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.9566, allocations: 63.83 kB / 1.575 GB, free: 3.914 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.53e-05/0.9567, allocations: 39.91 kB / 1.575 GB, free: 3.875 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.002813/0.9595, allocations: 1.4 MB / 1.576 GB, free: 2.457 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9595, allocations: 0 / 1.576 GB, free: 2.457 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.002855/0.9623, allocations: 0.7443 MB / 1.577 GB, free: 1.711 MB / 1.264 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.001448/0.9638, allocations: 0.6023 MB / 1.577 GB, free: 1.098 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.004466/0.9683, allocations: 1.303 MB / 1.579 GB, free: 15.8 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.9683, allocations: 0 / 1.579 GB, free: 15.8 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002391/0.9707, allocations: 0.6544 MB / 1.579 GB, free: 15.14 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004694/0.9753, allocations: 0.8667 MB / 1.58 GB, free: 14.29 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008155/0.9835, allocations: 3.553 MB / 1.584 GB, free: 10.66 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/0.9848, allocations: 0.9272 MB / 1.584 GB, free: 9.699 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001954/0.9867, allocations: 363.3 kB / 1.585 GB, free: 9.344 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004025/0.9871, allocations: 139.4 kB / 1.585 GB, free: 9.207 MB / 1.279 GB Notification: Performance of SimCode: time 1.022e-06/0.9871, allocations: 7.938 kB / 1.585 GB, free: 9.199 MB / 1.279 GB Notification: Performance of Templates: time 1.127/2.114, allocations: 44.75 MB / 1.629 GB, free: 231.6 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.763205237686634]