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.001331/0.001331, allocations: 105.8 kB / 19.69 MB, free: 2.258 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.001451/0.001451, allocations: 213.8 kB / 23.01 MB, free: 5.109 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 8 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.22/3.22, allocations: 0.505 GB / 0.8108 GB, free: 22.04 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.002212/0.002212, allocations: 83.77 kB / 1.178 GB, free: 16.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3582, allocations: 180.2 MB / 1.354 GB, free: 7.965 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1639/0.5221, allocations: 135.2 MB / 1.486 GB, free: 276 kB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.03912/0.5613, allocations: 23.34 MB / 1.509 GB, free: 8.863 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005952/0.5672, allocations: 170.5 kB / 1.509 GB, free: 8.695 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.005215/0.5724, allocations: 1.553 MB / 1.511 GB, free: 7.133 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.01453/0.5869, allocations: 4.381 MB / 1.515 GB, free: 2.734 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.006749/0.5937, allocations: 2.262 MB / 1.517 GB, free: 0.4922 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.01186/0.6055, allocations: 6.598 MB / 1.524 GB, free: 9.875 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003929/0.6095, allocations: 1.852 MB / 1.525 GB, free: 7.965 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008835/0.6183, allocations: 3.141 MB / 1.528 GB, free: 4.82 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004389/0.6227, allocations: 1.943 MB / 1.53 GB, free: 2.871 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.000775/0.6235, allocations: 248 kB / 1.531 GB, free: 2.629 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005479/0.629, allocations: 2.051 MB / 1.533 GB, free: 0.5742 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0008936/0.6298, allocations: 0.6262 MB / 1.533 GB, free: 15.95 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.002635/0.6325, allocations: 1.469 MB / 1.535 GB, free: 14.47 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.009054/0.6415, allocations: 4.473 MB / 1.539 GB, free: 9.98 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.6415, allocations: 0 / 1.539 GB, free: 9.98 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.164e-06/0.6415, allocations: 0 / 1.539 GB, free: 9.98 MB / 1.232 GB Notification: Performance of Transformations before backend: time 9.224e-05/0.6416, allocations: 0 / 1.539 GB, free: 9.98 MB / 1.232 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.007361/0.649, allocations: 3.214 MB / 1.542 GB, free: 6.695 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/0.6491, allocations: 8.031 kB / 1.542 GB, free: 6.688 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00463/0.6537, allocations: 0.853 MB / 1.543 GB, free: 5.832 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005372/0.6591, allocations: 2.281 MB / 1.545 GB, free: 3.465 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.6592, allocations: 127 kB / 1.545 GB, free: 3.34 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002702/0.6595, allocations: 160 kB / 1.545 GB, free: 3.184 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004416/0.6639, allocations: 1.926 MB / 1.547 GB, free: 1.191 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.139e-05/0.6639, allocations: 3.938 kB / 1.547 GB, free: 1.188 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001588/0.6641, allocations: 64 kB / 1.547 GB, free: 1.125 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.859e-05/0.6641, allocations: 39.94 kB / 1.547 GB, free: 1.086 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005048/0.6691, allocations: 1.815 MB / 1.549 GB, free: 15.27 MB / 1.248 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.01628/0.6854, allocations: 8.846 MB / 1.558 GB, free: 5.836 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004452/0.6899, allocations: 1.162 MB / 1.559 GB, free: 4.656 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001146/0.691, allocations: 433.2 kB / 1.559 GB, free: 4.227 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005723/0.6916, allocations: 156.7 kB / 1.56 GB, free: 4.074 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.572e-05/0.6916, allocations: 42.56 kB / 1.56 GB, free: 4.023 MB / 1.248 GB Notification: Performance of pre-optimization done (n=76): time 3.296e-06/0.6917, allocations: 0 / 1.56 GB, free: 4.023 MB / 1.248 GB Notification: Performance of matching and sorting (n=76): time 0.009155/0.7008, allocations: 2.179 MB / 1.562 GB, free: 1.828 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.112e-05/0.7009, allocations: 92.98 kB / 1.562 GB, free: 1.719 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004694/0.7056, allocations: 2.548 MB / 1.564 GB, free: 15.15 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0001966/0.7058, allocations: 41.7 kB / 1.564 GB, free: 15.11 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.001075/0.7068, allocations: 1.055 MB / 1.565 GB, free: 14.04 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003587/0.7072, allocations: 285.6 kB / 1.566 GB, free: 13.76 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004482/0.7076, allocations: 254.8 kB / 1.566 GB, free: 13.51 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.7078, allocations: 345.9 kB / 1.566 GB, free: 13.16 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001722/0.7096, allocations: 0.5725 MB / 1.567 GB, free: 12.59 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002213/0.7118, allocations: 0.9621 MB / 1.568 GB, free: 11.48 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003186/0.715, allocations: 1.256 MB / 1.569 GB, free: 10.12 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.888e-06/0.715, allocations: 4 kB / 1.569 GB, free: 10.11 MB / 1.264 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006896/0.7219, allocations: 2.025 MB / 1.571 GB, free: 8.07 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 3.274e-05/0.7219, allocations: 14.48 kB / 1.571 GB, free: 8.059 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.7219, allocations: 8 kB / 1.571 GB, free: 8.051 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001973/0.7239, allocations: 0.4884 MB / 1.571 GB, free: 7.559 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/0.7252, allocations: 283.5 kB / 1.572 GB, free: 7.281 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002393/0.7276, allocations: 1.522 MB / 1.573 GB, free: 5.707 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002981/0.7305, allocations: 366.5 kB / 1.574 GB, free: 5.348 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001862/0.7307, allocations: 55.97 kB / 1.574 GB, free: 5.293 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.001073/0.7318, allocations: 469.5 kB / 1.574 GB, free: 4.824 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007229/0.7325, allocations: 266.2 kB / 1.574 GB, free: 4.562 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003872/0.7364, allocations: 1.506 MB / 1.576 GB, free: 3.043 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.987e-05/0.7364, allocations: 8 kB / 1.576 GB, free: 3.035 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.7364, allocations: 0 / 1.576 GB, free: 3.035 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/0.7364, allocations: 3.984 kB / 1.576 GB, free: 3.031 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008583/0.745, allocations: 3.616 MB / 1.579 GB, free: 15.31 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/0.745, allocations: 4 kB / 1.579 GB, free: 15.3 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000673/0.7457, allocations: 128.2 kB / 1.579 GB, free: 15.18 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001791/0.7475, allocations: 497.1 kB / 1.58 GB, free: 14.69 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.167e-05/0.7476, allocations: 27.92 kB / 1.58 GB, free: 14.66 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002868/0.7505, allocations: 1.585 MB / 1.581 GB, free: 13.02 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.874e-06/0.7505, allocations: 7.938 kB / 1.581 GB, free: 13.02 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006434/0.7569, allocations: 1.948 MB / 1.583 GB, free: 11 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001567/0.7585, allocations: 431.8 kB / 1.584 GB, free: 10.58 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004217/0.7589, allocations: 23.94 kB / 1.584 GB, free: 10.55 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001756/0.7606, allocations: 135.8 kB / 1.584 GB, free: 10.42 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.7607, allocations: 67.77 kB / 1.584 GB, free: 10.36 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.642e-05/0.7608, allocations: 39.97 kB / 1.584 GB, free: 10.32 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.003392/0.7642, allocations: 1.782 MB / 1.586 GB, free: 8.531 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7642, allocations: 0 / 1.586 GB, free: 8.531 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.002429/0.7667, allocations: 0.7019 MB / 1.586 GB, free: 7.828 MB / 1.279 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.001117/0.7678, allocations: 0.5982 MB / 1.587 GB, free: 7.223 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.004371/0.7722, allocations: 1.307 MB / 1.588 GB, free: 5.918 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.7722, allocations: 0 / 1.588 GB, free: 5.918 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002507/0.7747, allocations: 0.6469 MB / 1.589 GB, free: 5.27 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006573/0.7812, allocations: 1.332 MB / 1.59 GB, free: 3.957 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007431/0.7887, allocations: 3.695 MB / 1.594 GB, free: 176 kB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001283/0.79, allocations: 1.482 MB / 1.595 GB, free: 14.66 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007777/0.7907, allocations: 183.4 kB / 1.595 GB, free: 14.48 MB / 1.295 GB Notification: Performance of SimCode: time 1.002e-06/0.7907, allocations: 0 / 1.595 GB, free: 14.48 MB / 1.295 GB Notification: Performance of Templates: time 0.8571/1.648, allocations: 63.08 MB / 1.657 GB, free: 227 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/jenkins1/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: 20.676419733004877]